freewrt_1_0
freewrt_2_0
|
Last change
on this file since ed2dd9f was ed2dd9f, checked in by Thorsten Glaser <tg@…>, 19 years ago |
|
instead of setting WRKBUILD, set WRKSRC and let WRKBUILD?=WRKSRC like mirports
(WRKSRC isn't used anywhere though)
git-svn-id: svn://www.freewrt.org/trunk/freewrt@306 afb5a338-a214-0410-bd46-81f09a774fd1
|
-
Property mode
set to
100644
|
|
File size:
1.1 KB
|
| Line | |
|---|
| 1 | # $Id: Makefile 1535 2005-07-22 22:57:30Z nico $
|
|---|
| 2 |
|
|---|
| 3 | include $(TOPDIR)/rules.mk
|
|---|
| 4 |
|
|---|
| 5 | PKG_NAME:=portmap
|
|---|
| 6 | PKG_VERSION:=5beta
|
|---|
| 7 | PKG_RELEASE:=2
|
|---|
| 8 | PKG_MD5SUM:=781e16ed4487c4caa082c6fef09ead4f
|
|---|
| 9 |
|
|---|
| 10 | # space separated list or special @SF for sourceforge projects
|
|---|
| 11 | PKG_SOURCE_URL:=ftp://ftp.porcupine.org/pub/security
|
|---|
| 12 | PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).tar.gz
|
|---|
| 13 |
|
|---|
| 14 | WRKSRC:=${WRKDIR}/$(PKG_NAME)_$(PKG_VERSION)
|
|---|
| 15 |
|
|---|
| 16 | include $(TOPDIR)/package/rules.mk
|
|---|
| 17 |
|
|---|
| 18 | $(eval $(call PKG_template,PORTMAP,portmap,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
|
|---|
| 19 |
|
|---|
| 20 | $(WRKBUILD)/.configured:
|
|---|
| 21 | touch $@
|
|---|
| 22 |
|
|---|
| 23 | $(WRKBUILD)/.built:
|
|---|
| 24 | $(MAKE) -C $(WRKBUILD) \
|
|---|
| 25 | $(TARGET_CONFIGURE_OPTS) \
|
|---|
| 26 | CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include -DHOSTS_ACCESS -DFACILITY=LOG_DAEMON -DIGNORE_SIGCHLD" \
|
|---|
| 27 | WRAP_LIB="-L$(STAGING_DIR)/usr/lib -lwrap" \
|
|---|
| 28 | all
|
|---|
| 29 | touch $@
|
|---|
| 30 |
|
|---|
| 31 | $(IPKG_PORTMAP):
|
|---|
| 32 | install -d -m0755 $(IDIR_PORTMAP)/etc/init.d
|
|---|
| 33 | install -m0755 ./files/portmap.init $(IDIR_PORTMAP)/etc/init.d/portmap
|
|---|
| 34 | ln -sf portmap $(IDIR_PORTMAP)/etc/init.d/S59portmap
|
|---|
| 35 | install -d -m0755 $(IDIR_PORTMAP)/usr/sbin
|
|---|
| 36 | install -m0755 $(WRKBUILD)/portmap $(IDIR_PORTMAP)/usr/sbin/
|
|---|
| 37 | $(RSTRIP) $(IDIR_PORTMAP)
|
|---|
| 38 | $(IPKG_BUILD) $(IDIR_PORTMAP) $(PACKAGE_DIR)
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.