backport symlink fix from whiterussian [2328]
[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) $(TARGET_CFLAGS) -o $(PKG_BUILD_DIR)/robocfg robocfg.c
21 touch $@
22
23 $(IPKG_ROBOCFG):
24 install -d -m0755 $(IDIR_ROBOCFG)/sbin
25 install -m0755 $(PKG_BUILD_DIR)/robocfg $(IDIR_ROBOCFG)/sbin/
26 $(RSTRIP) $(IDIR_ROBOCFG)
27 $(IPKG_BUILD) $(IDIR_ROBOCFG) $(PACKAGE_DIR)
This page took 0.047015 seconds and 5 git commands to generate.