Makefile 913 B

123456789101112131415161718192021222324252627282930
  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. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  14. include ${TOPDIR}/mk/package.mk
  15. $(eval $(call PKG_template,RARPD,rarpd,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  16. CONFIGURE_ARGS+= --with-libnet="${STAGING_TARGET_DIR}/usr" \
  17. --with-pcap="${STAGING_TARGET_DIR}/usr"
  18. TARGET_CPPFLAGS+= -DNEW_LIBNET_INTERFACE
  19. rarpd-install:
  20. ${INSTALL_DIR} ${IDIR_RARPD}/usr/sbin
  21. ${INSTALL_BIN} ${WRKINST}/sbin/rarpd ${IDIR_RARPD}/usr/sbin/
  22. include ${TOPDIR}/mk/pkg-bottom.mk