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:= portmap
|
|---|
| 10 | PKG_VERSION:= 5beta
|
|---|
| 11 | PKG_RELEASE:= 3
|
|---|
| 12 | PKG_MD5SUM:= 781e16ed4487c4caa082c6fef09ead4f
|
|---|
| 13 | PKG_INIT:= 60
|
|---|
| 14 |
|
|---|
| 15 | PKG_SOURCE_URL:= ftp://ftp.porcupine.org/pub/security
|
|---|
| 16 | PKG_SOURCE:= $(PKG_NAME)_$(PKG_VERSION).tar.gz
|
|---|
| 17 |
|
|---|
| 18 | WRKSRC= ${WRKDIR}/$(PKG_NAME)_$(PKG_VERSION)
|
|---|
| 19 |
|
|---|
| 20 | include $(TOPDIR)/mk/package.mk
|
|---|
| 21 |
|
|---|
| 22 | $(eval $(call PKG_template,PORTMAP,portmap,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
|
|---|
| 23 |
|
|---|
| 24 | $(WRKBUILD)/.configured:
|
|---|
| 25 | touch $@
|
|---|
| 26 |
|
|---|
| 27 | $(WRKBUILD)/.built:
|
|---|
| 28 | $(MAKE) -C $(WRKBUILD) \
|
|---|
| 29 | $(TARGET_CONFIGURE_OPTS) \
|
|---|
| 30 | CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include -DHOSTS_ACCESS -DFACILITY=LOG_DAEMON -DIGNORE_SIGCHLD" \
|
|---|
| 31 | WRAP_LIB="-L$(STAGING_DIR)/usr/lib -lwrap" \
|
|---|
| 32 | all
|
|---|
| 33 | touch $@
|
|---|
| 34 |
|
|---|
| 35 | $(IPKG_PORTMAP):
|
|---|
| 36 | install -d -m0755 $(IDIR_PORTMAP)/etc/init.d
|
|---|
| 37 | install -m0755 ./files/portmap.init \
|
|---|
| 38 | $(IDIR_PORTMAP)/etc/init.d/S$(PKG_INIT)portmap
|
|---|
| 39 | install -d -m0755 $(IDIR_PORTMAP)/usr/sbin
|
|---|
| 40 | install -m0755 $(WRKBUILD)/portmap $(IDIR_PORTMAP)/usr/sbin/
|
|---|
| 41 | $(RSTRIP) $(IDIR_PORTMAP)
|
|---|
| 42 | $(IPKG_BUILD) $(IDIR_PORTMAP) $(PACKAGE_DIR)
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.