Convert quagga to new packaging style
[openwrt.git] / openwrt / 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 $(eval $(call PKG_template,ROBOCFG,$(PKG_NAME),$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
14
15 $(PKG_BUILD_DIR)/.prepared:
16 mkdir -p $@
17 touch $@
18
19 $(PKG_BUILD_DIR)/.built:
20 $(TARGET_CC) -o $(PKG_BUILD_DIR)/robocfg robocfg.c
21 $(STRIP) $(PKG_BUILD_DIR)/robocfg
22 touch $@
23
24 $(IPKG_ROBOCFG):
25 mkdir -p $(IDIR_ROBOCFG)/sbin
26 install -m 0755 $(PKG_BUILD_DIR)/robocfg $(IDIR_ROBOCFG)/sbin/robocfg
27 $(IPKG_BUILD) $(IDIR_ROBOCFG) $(PACKAGE_DIR)
This page took 0.051686 seconds and 5 git commands to generate.