more tristate -> prompt fixes
[openwrt.git] / package / parprouted / Makefile
1 # $Id$
2
3 include $(TOPDIR)/rules.mk
4
5 PKG_NAME:=parprouted
6 PKG_VERSION:=0.63
7 PKG_RELEASE:=1
8 PKG_MD5SUM:=12753098a22e82997d1941d6d2284750
9
10 PKG_SOURCE_URL:=http://www.hazard.maks.net/parprouted/
11 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
12 PKG_CAT:=zcat
13
14 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
15
16 include $(TOPDIR)/package/rules.mk
17
18 $(eval $(call PKG_template,PARPROUTED,parprouted,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
19
20 $(PKG_BUILD_DIR)/.configured:
21 touch $@
22
23 $(PKG_BUILD_DIR)/.built:
24 $(MAKE) -C $(PKG_BUILD_DIR) \
25 CC="$(TARGET_CC)" CFLAGS="$(TARGET_CFLAGS)" LDFLAGS="" \
26 all
27 touch $@
28
29 $(IPKG_PARPROUTED):
30 install -d -m0755 $(IDIR_PARPROUTED)/etc/default
31 install -m0755 ./files/parprouted.default $(IDIR_PARPROUTED)/etc/default/parprouted
32 install -d -m0755 $(IDIR_PARPROUTED)/etc/init.d
33 install -m0755 ./files/parprouted.init $(IDIR_PARPROUTED)/etc/init.d/parprouted
34 ln -sf parprouted $(IDIR_PARPROUTED)/etc/init.d/S50parpouted
35 install -d -m0755 $(IDIR_PARPROUTED)/usr/sbin
36 install -m0755 $(PKG_BUILD_DIR)/parprouted $(IDIR_PARPROUTED)/usr/sbin/
37 $(RSTRIP) $(IDIR_PARPROUTED)
38 $(IPKG_BUILD) $(IDIR_PARPROUTED) $(PACKAGE_DIR)
39
40 mostlyclean:
41 -$(MAKE) -C $(PKG_BUILD_DIR) clean
42 rm -f $(PKG_BUILD_DIR)/.built
This page took 0.045474 seconds and 5 git commands to generate.