1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include ${ADK_TOPDIR}/rules.mk
9 PKG_HASH
:= 21d55de1506b3dbbfddb1b57e782a5fbf7140d299fbb08f4a8e48daaaa8489e7
10 PKG_DESCR
:= generates arp responses for ip address ranges
11 PKG_SECTION
:= net
/route
12 PKG_DEPENDS
:= libpcap libdnet libevent
13 PKG_BUILDDEP
:= libpcap libdnet libevent
14 PKG_URL
:= http
://niels.xtdnet.nl
/honeyd
/
15 PKG_SITES
:= http
://niels.xtdnet.nl
/honeyd
/
17 DISTFILES
:= ${PKG_NAME}-${PKG_VERSION}.
tar.gz
18 WRKDIST
= ${WRKDIR}/${PKG_NAME}
20 include ${ADK_TOPDIR}/mk
/package.mk
22 $(eval
$(call PKG_template
,ARPD
,arpd
,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
24 CONFIGURE_ARGS
+= --with-libdnet
=${STAGING_TARGET_DIR}/usr \
25 --with-libevent
=${STAGING_TARGET_DIR}/usr \
26 --with-libpcap
=${STAGING_TARGET_DIR}/usr
27 MAKE_FLAGS
+= CFLAGS
="${TARGET_CFLAGS}" \
28 INCLS
="-I. ${TARGET_CPPFLAGS}" \
29 LIBS
="-lpcap -ldnet -levent"
32 ${INSTALL_DIR} ${IDIR_ARPD}/usr
/sbin
33 ${INSTALL_BIN} ${WRKBUILD}/arpd
${IDIR_ARPD}/usr
/sbin
/
35 include ${ADK_TOPDIR}/mk
/pkg-bottom.mk