Makefile 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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:= ndisc6
  5. PKG_VERSION:= 1.0.2
  6. PKG_RELEASE:= 1
  7. PKG_HASH:= 6acec8a0cb9efa3ac98456f46c3016aeec0598b0c7557c95242b5228ad62ca7a
  8. PKG_DESCR:= icmpv6 neighbour discovery tools
  9. PKG_SECTION:= net/ipv6
  10. PKG_URL:= http://www.remlab.net/
  11. PKG_SITES:= http://www.remlab.net/files/ndisc6/
  12. PKG_LIBC_DEPENDS:= uclibc-ng uclibc glibc
  13. PKG_SUBPKGS:= NDISC6 RDISC6 TCPTRACEROUTE6
  14. PKGSD_NDISC6:= icmpv6 neighbour discovery tool
  15. PKGSD_RDISC6:= icmpv6 router discovery tool
  16. PKGSD_TCPTRACEROUTE6:= lightweight ipv6 tcptraceroute
  17. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
  18. include ${ADK_TOPDIR}/mk/package.mk
  19. $(eval $(call PKG_template,NDISC6,ndisc6,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_NDISC6},${PKG_SECTION}))
  20. $(eval $(call PKG_template,RDISC6,rdisc6,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_RDISC6},${PKG_SECTION}))
  21. $(eval $(call PKG_template,TCPTRACEROUTE6,tcptraceroute6,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_TCPTRACEROUTE6},${PKG_SECTION}))
  22. MAKE_FLAGS+= CC="${TARGET_CC}"
  23. ndisc6-install:
  24. ${INSTALL_DIR} ${IDIR_NDISC6}/usr/bin
  25. ${INSTALL_BIN} ${WRKINST}/usr/bin/ndisc6 ${IDIR_NDISC6}/usr/bin/
  26. rdisc6-install:
  27. ${INSTALL_DIR} ${IDIR_RDISC6}/usr/bin
  28. ${INSTALL_BIN} ${WRKINST}/usr/bin/rdisc6 ${IDIR_RDISC6}/usr/bin/
  29. tcptraceroute6-install:
  30. ${INSTALL_DIR} ${IDIR_TCPTRACEROUTE6}/usr/bin
  31. ${INSTALL_BIN} ${WRKINST}/usr/bin/tcptraceroute6 \
  32. ${IDIR_TCPTRACEROUTE6}/usr/bin/
  33. include ${ADK_TOPDIR}/mk/pkg-bottom.mk