Makefile 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  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 ${ADK_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:= net/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. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  15. WRKDIST= ${WRKDIR}/${PKG_NAME}
  16. include ${ADK_TOPDIR}/mk/package.mk
  17. $(eval $(call PKG_template,ARPD,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  18. CONFIGURE_ARGS+= --with-libdnet=${STAGING_TARGET_DIR}/usr \
  19. --with-libevent=${STAGING_TARGET_DIR}/usr \
  20. --with-libpcap=${STAGING_TARGET_DIR}/usr
  21. MAKE_FLAGS+= CFLAGS="${TARGET_CFLAGS}" \
  22. INCLS="-I. ${TARGET_CPPFLAGS}" \
  23. LIBS="-lpcap -ldnet -levent"
  24. post-install:
  25. ${INSTALL_DIR} ${IDIR_ARPD}/usr/sbin
  26. ${INSTALL_BIN} ${WRKBUILD}/arpd ${IDIR_ARPD}/usr/sbin/
  27. include ${ADK_TOPDIR}/mk/pkg-bottom.mk