summaryrefslogtreecommitdiff
path: root/package/rarpd/Makefile
blob: 8769658db18f6a1fef6e8cd4715ce060d198cacc (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
# 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/

include ${TOPDIR}/mk/package.mk

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

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

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

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