Makefile 1.0 KB

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