2 # Copyright (C) 2006 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
9 include $(TOPDIR
)/rules.mk
15 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
16 PKG_SOURCE_URL
:=ftp
://ftp.bitwizard.nl
/mtr
/
17 PKG_MD5SUM
:=58904d6d8d70114195cdeb653d56914c
20 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
21 PKG_INSTALL_DIR
:=$(PKG_BUILD_DIR
)/ipkg-install
23 include $(INCLUDE_DIR
)/package.mk
29 TITLE
:=Full screen ncurses traceroute tool
31 mtr combines the functionality of the
'traceroute' and
'ping' programs
\\\
32 in a single network diagnostic tool.
\\\
33 As mtr starts
, it investigates the network connection between the host
\\\
34 mtr runs on and a user-specified destination host. After it
\\\
35 determines the address of each network hop between the machines
, \\\
36 it sends a sequence ICMP ECHO requests to each one to determine the
\\\
37 quality of the link to each machine. As it does this
, it prints
\\\
38 running statistics about each machine.
39 URL
:=http
://www.bitwizard.nl
/mtr
/
42 define Build
/Configure
43 $(call Build
/Configure
/Default
, \
46 ac_cv_lib_resolv_res_mkquery
=yes \
51 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
52 DESTDIR
="$(PKG_INSTALL_DIR)" \
56 define Package
/mtr
/install
57 install -d
-m0755
$(1)/usr
/sbin
58 $(CP
) $(PKG_INSTALL_DIR
)/usr
/sbin
/mtr
$(1)/usr
/sbin
/
61 $(eval
$(call BuildPackage
,mtr
))