Makefile 947 B

123456789101112131415161718192021222324252627282930313233
  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:= mtr
  5. PKG_VERSION:= 0.75
  6. PKG_RELEASE:= 2
  7. PKG_MD5SUM:= 23baca52d0922c2ecba7eba05317868c
  8. PKG_DESCR:= traceroute/ping tool
  9. PKG_SECTION:= net/debug
  10. PKG_DEPENDS:= libncurses
  11. PKG_BUILDDEP:= ncurses
  12. PKG_URL:= http://www.bitwizard.nl/mtr/
  13. PKG_SITES:= ftp://ftp.bitwizard.nl/mtr/
  14. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  15. PKG_LIBC_DEPENDS:= uclibc glibc
  16. include ${ADK_TOPDIR}/mk/package.mk
  17. $(eval $(call PKG_template,MTR,mtr,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  18. TARGET_LDFLAGS+= -ltinfo
  19. CONFIGURE_ENV+= ac_cv_lib_resolv_res_mkquery=yes
  20. CONFIGURE_ARGS+= --without-gtk
  21. mtr-install:
  22. ${INSTALL_DIR} ${IDIR_MTR}/usr/sbin
  23. ${INSTALL_BIN} ${WRKINST}/usr/sbin/mtr ${IDIR_MTR}/usr/sbin/
  24. include ${ADK_TOPDIR}/mk/pkg-bottom.mk