Makefile 908 B

12345678910111213141516171819202122232425262728293031
  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_BUILDDEP+= libnet
  8. PKG_MD5SUM:= 04e2ca849e758d0b88c8281775ec3b58
  9. PKG_DESCR:= Reverse ARP Daemon
  10. PKG_SECTION:= net
  11. PKG_DEPENDS:= 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_STYLE:= gnu
  16. CONFIGURE_ARGS+= --with-libnet="${STAGING_DIR}/usr" \
  17. --with-pcap="${STAGING_DIR}/usr"
  18. TCFLAGS+= -DNEW_LIBNET_INTERFACE
  19. BUILD_STYLE:= auto
  20. INSTALL_STYLE:= auto
  21. post-install:
  22. ${INSTALL_DIR} ${IDIR_RARPD}/usr/sbin
  23. ${INSTALL_BIN} ${WRKINST}/sbin/rarpd ${IDIR_RARPD}/usr/sbin/
  24. include ${TOPDIR}/mk/pkg-bottom.mk