3 include $(TOPDIR
)/rules.mk
8 PKG_MD5SUM
:=781e16ed4487c4caa082c6fef09ead4f
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
15 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)_
$(PKG_VERSION
)
16 PKG_INSTALL_DIR
:=$(PKG_BUILD_DIR
)/ipkg-install
18 include $(TOPDIR
)/package
/rules.mk
20 $(eval
$(call PKG_template
,PORTMAP
,portmap
,$(PKG_VERSION
)-$(PKG_RELEASE
),$(ARCH
)))
22 $(PKG_BUILD_DIR
)/.configured
:
25 $(PKG_BUILD_DIR
)/.built
:
26 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
27 $(TARGET_CONFIGURE_OPTS
) \
28 CFLAGS
="$(TARGET_CFLAGS) -DHOSTS_ACCESS -DFACILITY=LOG_DAEMON -DIGNORE_SIGCHLD" all
32 install -d
-m0755
$(IDIR_PORTMAP
)/usr
/sbin
33 install -m0755
$(PKG_BUILD_DIR
)/portmap
$(IDIR_PORTMAP
)/usr
/sbin
/
34 $(RSTRIP
) $(IDIR_PORTMAP
)
35 $(IPKG_BUILD
) $(IDIR_PORTMAP
) $(PACKAGE_DIR
)