freewrt_1_0
freewrt_2_0
|
Last change
on this file since 6fc4520e was c8b93bd, checked in by Waldemar Brodkorb <wbx@…>, 19 years ago |
|
major package Makefile cleanup. remove mostly-clean, add licence header, always use RSTRIP varibale for stripping, rename some init scripts, indent
git-svn-id: svn://www.freewrt.org/trunk/freewrt@600 afb5a338-a214-0410-bd46-81f09a774fd1
|
-
Property mode
set to
100644
|
|
File size:
1.1 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 |
|
|---|
| 7 | include $(TOPDIR)/rules.mk
|
|---|
| 8 |
|
|---|
| 9 | PKG_NAME:= p910nd
|
|---|
| 10 | PKG_VERSION:= 0.7
|
|---|
| 11 | PKG_RELEASE:= 2
|
|---|
| 12 | PKG_MD5SUM:= 7bf752532d26c9106f8039db95df3a6b
|
|---|
| 13 | PKG_INIT:= 70
|
|---|
| 14 |
|
|---|
| 15 | PKG_SOURCE_URL:= http://www.etherboot.org/p910nd
|
|---|
| 16 | PKG_SOURCE:= $(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
|---|
| 17 |
|
|---|
| 18 | include $(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/default
|
|---|
| 33 | install -m0644 ./files/p910nd.default $(IDIR_P910ND)/etc/default/p910nd
|
|---|
| 34 | install -d -m0755 $(IDIR_P910ND)/etc/init.d
|
|---|
| 35 | install -m0755 ./files/p910nd.init $(IDIR_P910ND)/etc/init.d/S$(PKG_INIT)p910nd
|
|---|
| 36 | install -d -m0755 $(IDIR_P910ND)/usr/sbin
|
|---|
| 37 | $(CP) $(WRKBUILD)/p910nd $(IDIR_P910ND)/usr/sbin
|
|---|
| 38 | $(RSTRIP) $(IDIR_P910ND)
|
|---|
| 39 | $(IPKG_BUILD) $(IDIR_P910ND) $(PACKAGE_DIR)
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.