Makefile 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. include ${TOPDIR}/rules.mk
  4. PKG_NAME:= arpd
  5. PKG_VERSION:= 0.2
  6. PKG_RELEASE:= 3
  7. PKG_MD5SUM:= e2911fa9de1b92ef50deda1489ae944d
  8. PKG_DESCR:= Generates ARP responses for IP address ranges
  9. PKG_SECTION:= route
  10. PKG_DEPENDS:= libpcap libdnet libevent
  11. PKG_BUILDDEP:= libpcap libdnet libevent
  12. PKG_URL:= http://niels.xtdnet.nl/honeyd/
  13. PKG_SITES:= http://niels.xtdnet.nl/honeyd/
  14. WRKDIST= ${WRKDIR}/${PKG_NAME}
  15. include ${TOPDIR}/mk/package.mk
  16. $(eval $(call PKG_template,ARPD,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. CONFIGURE_ARGS+= --with-libdnet=${STAGING_TARGET_DIR}/usr \
  18. --with-libevent=${STAGING_TARGET_DIR}/usr \
  19. --with-libpcap=${STAGING_TARGET_DIR}/usr
  20. MAKE_FLAGS+= CFLAGS="${TARGET_CFLAGS}" \
  21. INCLS="-I. ${TARGET_CPPFLAGS}" \
  22. LIBS="-lpcap -ldnet -levent"
  23. post-install:
  24. ${INSTALL_DIR} ${IDIR_ARPD}/usr/sbin
  25. ${INSTALL_BIN} ${WRKBUILD}/arpd ${IDIR_ARPD}/usr/sbin/
  26. include ${TOPDIR}/mk/pkg-bottom.mk