Makefile 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  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:= ndisc6
  5. PKG_VERSION:= 1.0.2
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 50cb4c19606cf6ff2b7388e71832f579
  8. PKG_DESCR:= ICMPv6 Neighbour Discovery tools
  9. PKG_SECTION:= ipv6
  10. PKG_URL:= http://www.remlab.net/
  11. PKG_SITES:= http://www.remlab.net/files/ndisc6/
  12. PKG_LIBC_DEPENDS:= uclibc glibc
  13. PKG_SUBPKGS:= NDISC6 RDISC6 TCPTRACEROUTE6
  14. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
  15. include ${TOPDIR}/mk/package.mk
  16. $(eval $(call PKG_template,NDISC6,ndisc6,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. $(eval $(call PKG_template,RDISC6,rdisc6,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  18. $(eval $(call PKG_template,TCPTRACEROUTE6,tcptraceroute6,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  19. MAKE_FLAGS+= CC="${TARGET_CC}"
  20. ndisc6-install:
  21. ${INSTALL_DIR} ${IDIR_NDISC6}/usr/bin
  22. ${INSTALL_BIN} ${WRKINST}/usr/bin/ndisc6 ${IDIR_NDISC6}/usr/bin/
  23. rdisc6-install:
  24. ${INSTALL_DIR} ${IDIR_RDISC6}/usr/bin
  25. ${INSTALL_BIN} ${WRKINST}/usr/bin/rdisc6 ${IDIR_RDISC6}/usr/bin/
  26. tcptraceroute6-install:
  27. ${INSTALL_DIR} ${IDIR_TCPTRACEROUTE6}/usr/bin
  28. ${INSTALL_BIN} ${WRKINST}/usr/bin/tcptraceroute6 \
  29. ${IDIR_TCPTRACEROUTE6}/usr/bin/
  30. include ${TOPDIR}/mk/pkg-bottom.mk