summaryrefslogtreecommitdiff
path: root/package/parprouted/Makefile
blob: 8f625e1db1d091821226fd4d0712d1b71b6e6fce (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
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.

include ${ADK_TOPDIR}/rules.mk

PKG_NAME:=		parprouted
PKG_VERSION:=		0.7
PKG_RELEASE:=		1
PKG_HASH:=		d63643c95d4149a3d71112da5892f459433456bf0279bfa304625f109178defc
PKG_DESCR:=		proxy arp daemon
PKG_SECTION:=		net/misc
PKG_NEEDS:=		threads
PKG_URL:=		http://www.hazard.maks.net/parprouted/
PKG_SITES:=		http://www.hazard.maks.net/parprouted/

DISTFILES:=		${PKG_NAME}-${PKG_VERSION}.tar.gz

include ${ADK_TOPDIR}/mk/package.mk

$(eval $(call PKG_template,PARPROUTED,parprouted,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))

CONFIG_STYLE:=          manual
INSTALL_STYLE:=         manual

MAKE_FLAGS+=		CC="${TARGET_CC}" \
			CFLAGS="${TARGET_CFLAGS}" \
			LDFLAGS="${TARGET_LDFLAGS}"

do-install:
	${INSTALL_DIR} ${IDIR_PARPROUTED}/usr/sbin
	${INSTALL_BIN} ${WRKBUILD}/parprouted ${IDIR_PARPROUTED}/usr/sbin/

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