Makefile 863 B

12345678910111213141516171819202122232425262728
  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:= rarpd
  5. PKG_VERSION:= 1.1
  6. PKG_RELEASE:= 11
  7. PKG_MD5SUM:= 04e2ca849e758d0b88c8281775ec3b58
  8. PKG_DESCR:= Reverse ARP Daemon
  9. PKG_SECTION:= net/misc
  10. PKG_DEPENDS:= libnet
  11. PKG_BUILDDEP:= libnet
  12. PKG_SITES:= ftp://ftp.dementia.org/pub/net-tools/
  13. include ${TOPDIR}/mk/package.mk
  14. $(eval $(call PKG_template,RARPD,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  15. CONFIGURE_ARGS+= --with-libnet="${STAGING_TARGET_DIR}/usr" \
  16. --with-pcap="${STAGING_TARGET_DIR}/usr"
  17. TCFLAGS+= -DNEW_LIBNET_INTERFACE
  18. post-install:
  19. ${INSTALL_DIR} ${IDIR_RARPD}/usr/sbin
  20. ${INSTALL_BIN} ${WRKINST}/sbin/rarpd ${IDIR_RARPD}/usr/sbin/
  21. include ${TOPDIR}/mk/pkg-bottom.mk