Convert packages to new template
[openwrt.git] / package / robocfg / Makefile
1 # $Id$
2
3 include $(TOPDIR)/rules.mk
4
5 PKG_NAME:=robocfg
6 PKG_VERSION:=0.01
7 PKG_RELEASE:=1
8
9 PKG_BUILD_DIR:=$(BUILD_DIR)/robocfg
10
11 include $(TOPDIR)/package/rules.mk
12
13 define Package/robocfg
14 SECTION:=base
15 # CATEGORY:=FIXME
16 DEFAULT:=n
17 TITLE:=BCM5325E/536x switch configuration utility
18 DESCRIPTION:=Broadcom BCM5325E/536x switch configuration utility
19 endef
20
21 define Build/Compile
22 $(TARGET_CC) $(TARGET_CFLAGS) -o $(PKG_BUILD_DIR)/robocfg robocfg.c
23 endef
24
25 define Package/robocfg/install
26 install -d -m0755 $(IDIR_ROBOCFG)/sbin
27 install -m0755 $(PKG_BUILD_DIR)/robocfg $(IDIR_ROBOCFG)/sbin/
28 $(RSTRIP) $(IDIR_ROBOCFG)
29 $(IPKG_BUILD) $(IDIR_ROBOCFG) $(PACKAGE_DIR)
30 endef
31
32 $(eval $(call BuildPackage,robocfg))
This page took 0.046016 seconds and 5 git commands to generate.