change lzo to liblzo
[openwrt.git] / openwrt / package / robocfg / Makefile
1
2 include $(TOPDIR)/rules.mk
3
4 PKG_NAME:=robocfg
5 PKG_VERSION:=0.01
6 PKG_RELEASE:=1
7
8 PKG_BUILD_DIR:=$(BUILD_DIR)/robocfg
9
10 include $(TOPDIR)/package/rules.mk
11
12 $(eval $(call PKG_template,ROBOCFG,$(PKG_NAME),$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
13
14 $(PKG_BUILD_DIR)/.prepared:
15 mkdir -p $@
16
17 $(PKG_BUILD_DIR)/.built:
18 $(TARGET_CC) -o $(PKG_BUILD_DIR)/robocfg robocfg.c
19 $(STRIP) $(PKG_BUILD_DIR)/robocfg
20 touch $@
21
22 $(IPKG_ROBOCFG):
23 mkdir -p $(IDIR_ROBOCFG)/sbin
24 install -m 0755 $(PKG_BUILD_DIR)/robocfg $(IDIR_ROBOCFG)/sbin/robocfg
25 $(IPKG_BUILD) $(IDIR_ROBOCFG) $(PACKAGE_DIR)
This page took 0.054989 seconds and 5 git commands to generate.