summaryrefslogtreecommitdiff
path: root/package/portmap/Makefile
blob: 2026c6670c3de0e26b787e84622b3a189e610389 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.

include ${TOPDIR}/rules.mk

PKG_NAME:=		portmap
PKG_VERSION:=		6.0
PKG_RELEASE:=		1
PKG_MD5SUM:=		ac108ab68bf0f34477f8317791aaf1ff
PKG_DESCR:=		RPC portmapper
PKG_SECTION:=		net/misc
PKG_URL:=		http://neil.brown.name/portmap/
PKG_SITES:=		http://neil.brown.name/portmap/

DISTFILES:=		${PKG_NAME}-${PKG_VERSION}.tgz
WRKDIST=		${WRKDIR}/${PKG_NAME}_${PKG_VERSION}

include ${TOPDIR}/mk/package.mk

$(eval $(call PKG_template,PORTMAP,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))

CONFIG_STYLE:=          manual
INSTALL_STYLE:=         manual

MAKE_FLAGS+=		NO_TCP_WRAPPER=1
TARGET_CPPFLAGS+=	-DDAEMON_UID=20 -DDAEMON_GID=20
TARGET_CFLAGS+=		-fPIC
MAKE_FLAGS+=		${TARGET_CONFIGURE_OPTS} \
			CFLAGS='${TARGET_CFLAGS}'

do-install:
	${INSTALL_DIR} ${IDIR_PORTMAP}/usr/sbin
	${INSTALL_BIN} ${WRKBUILD}/portmap ${IDIR_PORTMAP}/usr/sbin

include ${TOPDIR}/mk/pkg-bottom.mk