1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include ${ADK_TOPDIR}/rules.mk
9 PKG_HASH
:= 1d1a5de6b233289bf17a21e3bf83c82db47d22bb269af986229b788689e1f0f3
10 PKG_DESCR
:= traceroute
/ping tool
11 PKG_SECTION
:= net
/debug
12 PKG_DEPENDS
:= libncurses
13 PKG_BUILDDEP
:= ncurses
14 PKG_URL
:= http
://www.bitwizard.nl
/mtr
/
15 PKG_SITES
:= ftp
://ftp.bitwizard.nl
/mtr
/
17 DISTFILES
:= ${PKG_NAME}-${PKG_VERSION}.
tar.gz
19 PKG_LIBC_DEPENDS
:= uclibc-ng glibc
21 include ${ADK_TOPDIR}/mk
/package.mk
23 $(eval
$(call PKG_template
,MTR
,mtr
,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
25 TARGET_LDFLAGS
+= -ltinfo
26 CONFIGURE_ENV
+= ac_cv_lib_resolv_res_mkquery
=yes
27 CONFIGURE_ARGS
+= --without-gtk
30 ${INSTALL_DIR} ${IDIR_MTR}/usr
/sbin
31 ${INSTALL_BIN} ${WRKINST}/usr
/sbin
/mtr
${IDIR_MTR}/usr
/sbin
/
33 include ${ADK_TOPDIR}/mk
/pkg-bottom.mk