source: freewrt/package/p910nd/Makefile@ aae7eb1

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

more init script fixes

git-svn-id: svn://www.freewrt.org/branches/freewrt_1_0@1009 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:= p910nd
10PKG_VERSION:= 0.7
11PKG_RELEASE:= 3
12PKG_MD5SUM:= 7bf752532d26c9106f8039db95df3a6b
13PKG_INIT:= 70
14
15PKG_SOURCE_URL:= http://www.etherboot.org/p910nd
16PKG_SOURCE:= $(PKG_NAME)-$(PKG_VERSION).tar.bz2
17
18include $(TOPDIR)/mk/package.mk
19
20$(eval $(call PKG_template,P910ND,p910nd,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
21
22$(WRKBUILD)/.configured:
23 touch $@
24
25$(WRKBUILD)/.built:
26 $(MAKE) -C $(WRKBUILD) \
27 $(TARGET_CONFIGURE_OPTS) \
28 CFLAGS="$(TARGET_CFLAGS) -DLOCKFILE_DIR=\"\\\"/tmp\\\"\""
29 touch $@
30
31$(IPKG_P910ND):
32 install -d -m0755 $(IDIR_P910ND)/etc/init.d
33 install -m0755 ./files/p910nd.init \
34 $(IDIR_P910ND)/etc/init.d/S$(PKG_INIT)p910nd
35 install -d -m0755 $(IDIR_P910ND)/usr/sbin
36 $(CP) $(WRKBUILD)/p910nd $(IDIR_P910ND)/usr/sbin
37 $(RSTRIP) $(IDIR_P910ND)
38 $(IPKG_BUILD) $(IDIR_P910ND) $(PACKAGE_DIR)
Note: See TracBrowser for help on using the repository browser.