Root/package/robocfg/Makefile

1#
2# Copyright (C) 2006 OpenWrt.org
3#
4# This is free software, licensed under the GNU General Public License v2.
5# See /LICENSE for more information.
6#
7
8include $(TOPDIR)/rules.mk
9
10PKG_NAME:=robocfg
11PKG_VERSION:=0.01
12PKG_RELEASE:=1
13
14PKG_BUILD_DIR:=$(BUILD_DIR)/robocfg
15
16include $(INCLUDE_DIR)/package.mk
17
18define Package/robocfg
19  SECTION:=utils
20  CATEGORY:=Utilities
21  TITLE:=BCM5325E/536x switch configuration utility
22endef
23
24define Package/robocfg/description
25 This package contains an utility for configuring the Broadcom BCM5325E/536x
26 based switches.
27endef
28
29define Build/Prepare
30    mkdir -p $(PKG_BUILD_DIR)
31    $(CP) ./src/* $(PKG_BUILD_DIR)/
32endef
33
34define Package/robocfg/install
35    $(INSTALL_DIR) $(1)/sbin
36    $(INSTALL_BIN) $(PKG_BUILD_DIR)/robocfg $(1)/sbin/
37endef
38
39$(eval $(call BuildPackage,robocfg))
40

Archive Download this file



interactive