install in /usr instead of /usr/local/,
[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 $(PKG_BUILD_DIR)
17 touch $@
18
19 $(PKG_BUILD_DIR)/.configured:
20 touch $@
21
22 $(PKG_BUILD_DIR)/.built:
23 $(TARGET_CC) $(TARGET_CFLAGS) -o $(PKG_BUILD_DIR)/robocfg robocfg.c
24 touch $@
25
26 $(IPKG_ROBOCFG):
27 install -d -m0755 $(IDIR_ROBOCFG)/sbin
28 install -m0755 $(PKG_BUILD_DIR)/robocfg $(IDIR_ROBOCFG)/sbin/
29 $(RSTRIP) $(IDIR_ROBOCFG)
30 $(IPKG_BUILD) $(IDIR_ROBOCFG) $(PACKAGE_DIR)
This page took 0.042521 seconds and 5 git commands to generate.