Fix source url
[openwrt.git] / openwrt / package / portmap / Makefile
1 # $Id$
2
3 include $(TOPDIR)/rules.mk
4
5 PKG_NAME:=portmap
6 PKG_VERSION:=5beta
7 PKG_RELEASE:=1
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 PKG_CAT:=zcat
14
15 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)_$(PKG_VERSION)
16 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
17
18 include $(TOPDIR)/package/rules.mk
19
20 $(eval $(call PKG_template,PORTMAP,portmap,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
21
22 $(PKG_BUILD_DIR)/.configured:
23 touch $@
24
25 $(PKG_BUILD_DIR)/.built:
26 $(MAKE) -C $(PKG_BUILD_DIR) \
27 $(TARGET_CONFIGURE_OPTS) \
28 CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include -DHOSTS_ACCESS -DFACILITY=LOG_DAEMON -DIGNORE_SIGCHLD" \
29 WRAP_LIB="-L$(STAGING_DIR)/usr/lib -lwrap" \
30 all
31 touch $@
32
33 $(IPKG_PORTMAP):
34 install -d -m0755 $(IDIR_PORTMAP)/usr/sbin
35 install -m0755 $(PKG_BUILD_DIR)/portmap $(IDIR_PORTMAP)/usr/sbin/
36 $(RSTRIP) $(IDIR_PORTMAP)
37 $(IPKG_BUILD) $(IDIR_PORTMAP) $(PACKAGE_DIR)
This page took 0.043785 seconds and 5 git commands to generate.