Makefile 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  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/debug
  10. PKG_URL:= http://traceroute.sourceforge.net/
  11. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=traceroute/}
  12. PKG_LIBC_DEPENDS:= glibc musl
  13. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  14. include $(TOPDIR)/mk/package.mk
  15. $(eval $(call PKG_template,TRACEROUTE,traceroute,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  16. CONFIG_STYLE:= manual
  17. MAKE_FLAGS+= CC="${TARGET_CC}" \
  18. AR="${TARGET_CROSS}ar" \
  19. RANLIB="${TARGET_CROSS}ranlib" \
  20. CFLAGS="${TARGET_CFLAGS}" \
  21. LDFLAGS="${TARGET_LDFLAGS} -L${WRKSRC}/libsupp"
  22. traceroute-install:
  23. $(INSTALL_DIR) $(IDIR_TRACEROUTE)/usr/bin
  24. $(INSTALL_BIN) $(WRKINST)/usr/bin/traceroute \
  25. $(IDIR_TRACEROUTE)/usr/bin/
  26. include ${TOPDIR}/mk/pkg-bottom.mk