packages: clean up the package folder
[openwrt/staging/yousong.git] / package / utils / 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
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=robocfg
11 PKG_VERSION:=0.01
12 PKG_RELEASE:=1
13
14 PKG_BUILD_DIR:=$(BUILD_DIR)/robocfg
15
16 include $(INCLUDE_DIR)/package.mk
17
18 define Package/robocfg
19 SECTION:=utils
20 CATEGORY:=Utilities
21 TITLE:=BCM5325E/536x switch configuration utility
22 endef
23
24 define Package/robocfg/description
25 This package contains an utility for configuring the Broadcom BCM5325E/536x
26 based switches.
27 endef
28
29 define Build/Prepare
30 mkdir -p $(PKG_BUILD_DIR)
31 $(CP) ./src/* $(PKG_BUILD_DIR)/
32 endef
33
34 define Package/robocfg/install
35 $(INSTALL_DIR) $(1)/sbin
36 $(INSTALL_BIN) $(PKG_BUILD_DIR)/robocfg $(1)/sbin/
37 endef
38
39 $(eval $(call BuildPackage,robocfg))