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