Makefile 989 B

1234567891011121314151617181920212223242526272829303132
  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.16
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 3e84c525cdb4184d64aacaf9225e6503
  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. 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. CFLAGS="${TARGET_CFLAGS}" \
  19. LDFLAGS="${TARGET_LDFLAGS} -L${WRKSRC}/libsupp"
  20. post-install:
  21. $(INSTALL_DIR) $(IDIR_TRACEROUTE)/usr/bin
  22. $(INSTALL_BIN) $(WRKINST)/usr/bin/traceroute \
  23. $(IDIR_TRACEROUTE)/usr/bin/
  24. include ${TOPDIR}/mk/pkg-bottom.mk