freewrt_1_0
freewrt_2_0
| 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:= 3
|
|---|
| 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/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.