Makefile 948 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:= traceroute
  5. PKG_VERSION:= 2.0.11
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= d400573042d41559fc3e5260275300d8
  8. PKG_DESCR:= Utility to trace the route of IP packets
  9. PKG_SECTION:= utils
  10. PKG_URL:= http://traceroute.sourceforge.net/
  11. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=traceroute/}
  12. include $(TOPDIR)/mk/package.mk
  13. $(eval $(call PKG_template,TRACEROUTE,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  14. CONFIG_STYLE:= manual
  15. MAKE_FLAGS+= CC="${TARGET_CC}" \
  16. AR="${TARGET_CROSS}ar" \
  17. RANLIB="${TARGET_CROSS}ranlib" \
  18. LDFLAGS="-L${WRKSRC}/libsupp"
  19. post-install:
  20. $(INSTALL_DIR) $(IDIR_TRACEROUTE)/usr/bin
  21. $(INSTALL_BIN) $(WRKINST)/usr/local/bin/traceroute \
  22. $(IDIR_TRACEROUTE)/usr/bin/
  23. include ${TOPDIR}/mk/pkg-bottom.mk