fix version info for packages that either lack PKG_VERSION or PKG_RELEASE
[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 TITLE:=BCM5325E/536x switch configuration utility
16 DESCRIPTION:=Broadcom BCM5325E/536x switch configuration utility
17 endef
18
19 define Build/Compile
20 $(TARGET_CC) $(TARGET_CFLAGS) -o $(PKG_BUILD_DIR)/robocfg robocfg.c
21 endef
22
23 define Package/robocfg/install
24 install -d -m0755 $(1)/sbin
25 install -m0755 $(PKG_BUILD_DIR)/robocfg $(1)/sbin/
26 $(RSTRIP) $(1)
27 $(IPKG_BUILD) $(1) $(PACKAGE_DIR)
28 endef
29
30 $(eval $(call BuildPackage,robocfg))
This page took 0.042106 seconds and 5 git commands to generate.