summaryrefslogtreecommitdiff
path: root/package/rarpd/Makefile
blob: 2d72de593c9648e94c8dac0636def866577493c0 (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
# 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:=		rarpd
PKG_VERSION:=		1.1
PKG_RELEASE:=		11
PKG_MD5SUM:=		04e2ca849e758d0b88c8281775ec3b58
PKG_DESCR:=		reverse arp daemon
PKG_SECTION:=		net/misc
PKG_DEPENDS:=		libnet
PKG_BUILDDEP:=		libnet
PKG_SITES:=		ftp://ftp.dementia.org/pub/net-tools/

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

include ${TOPDIR}/mk/package.mk

$(eval $(call PKG_template,RARPD,rarpd,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))

CONFIGURE_ARGS+=	--with-libnet="${STAGING_TARGET_DIR}/usr" \
			--with-pcap="${STAGING_TARGET_DIR}/usr"
TARGET_CPPFLAGS+=	-DNEW_LIBNET_INTERFACE

rarpd-install:
	${INSTALL_DIR} ${IDIR_RARPD}/usr/sbin
	${INSTALL_BIN} ${WRKINST}/sbin/rarpd ${IDIR_RARPD}/usr/sbin/

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