better qemu-cris support
[openadk.git] / package / rarpd / Makefile
blob16e7a78dddfd12256d75e8e617efa86ec850bac0
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 ${TOPDIR}/rules.mk
6 PKG_NAME:= rarpd
7 PKG_VERSION:= 1.1
8 PKG_RELEASE:= 11
9 PKG_MD5SUM:= 04e2ca849e758d0b88c8281775ec3b58
10 PKG_DESCR:= Reverse ARP Daemon
11 PKG_SECTION:= net/misc
12 PKG_DEPENDS:= libnet
13 PKG_BUILDDEP:= libnet
14 PKG_SITES:= ftp://ftp.dementia.org/pub/net-tools/
16 include ${TOPDIR}/mk/package.mk
18 $(eval $(call PKG_template,RARPD,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
20 CONFIGURE_ARGS+= --with-libnet="${STAGING_TARGET_DIR}/usr" \
21 --with-pcap="${STAGING_TARGET_DIR}/usr"
22 TARGET_CPPFLAGS+= -DNEW_LIBNET_INTERFACE
24 post-install:
25 ${INSTALL_DIR} ${IDIR_RARPD}/usr/sbin
26 ${INSTALL_BIN} ${WRKINST}/sbin/rarpd ${IDIR_RARPD}/usr/sbin/
28 include ${TOPDIR}/mk/pkg-bottom.mk