source: freewrt/package/parprouted/Makefile@ ca629a6

freewrt_1_0 freewrt_2_0
Last change on this file since ca629a6 was b1bc4e2a, checked in by Waldemar Brodkorb <wbx@…>, 19 years ago

fix all remaining init scripts, normalize

git-svn-id: svn://www.freewrt.org/branches/freewrt_1_0@1029 afb5a338-a214-0410-bd46-81f09a774fd1

  • Property mode set to 100644
File size: 1.0 KB
Line 
1# $FreeWRT$
2#-
3# This file is part of the FreeWRT project. FreeWRT is copyrighted
4# material, please see the LICENCE file in the top-level directory
5# or at http://www.freewrt.org/licence for details.
6
7include $(TOPDIR)/rules.mk
8
9PKG_NAME:= parprouted
10PKG_VERSION:= 0.63
11PKG_RELEASE:= 2
12PKG_MD5SUM:= 12753098a22e82997d1941d6d2284750
13PKG_INIT:= 75
14
15PKG_SOURCE_URL:= http://www.hazard.maks.net/parprouted/
16
17include $(TOPDIR)/mk/package.mk
18
19$(eval $(call PKG_template,PARPROUTED,parprouted,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
20
21$(WRKBUILD)/.configured:
22 touch $@
23
24$(WRKBUILD)/.built:
25 $(MAKE) -C $(WRKBUILD) \
26 CC="$(TARGET_CC)" CFLAGS="$(TARGET_CFLAGS)" LDFLAGS="" \
27 all
28 touch $@
29
30$(IPKG_PARPROUTED):
31 install -d -m0755 $(IDIR_PARPROUTED)/etc/init.d
32 install -m0755 ./files/parprouted.init \
33 $(IDIR_PARPROUTED)/etc/init.d/S$(PKG_INIT)parprouted
34 install -d -m0755 $(IDIR_PARPROUTED)/usr/sbin
35 install -m0755 $(WRKBUILD)/parprouted $(IDIR_PARPROUTED)/usr/sbin/
36 $(RSTRIP) $(IDIR_PARPROUTED)
37 $(IPKG_BUILD) $(IDIR_PARPROUTED) $(PACKAGE_DIR)
Note: See TracBrowser for help on using the repository browser.