2 # Copyright (C) 2006-2015 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
12 PKG_VERSION
:=0.85+newdns-
$(PKG_REV
)
16 PKG_SOURCE_URL
:=https
://github.com
/traviscross
/mtr.git
17 PKG_SOURCE_SUBDIR
:=$(PKG_NAME
)-$(PKG_VERSION
)
18 PKG_SOURCE_VERSION
:=$(PKG_REV
)
19 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_SOURCE_VERSION
).
tar.gz
22 PKG_LICENSE_FILES
:=COPYING
28 include $(INCLUDE_DIR
)/package.mk
34 TITLE
:=Full screen ncurses traceroute tool
35 URL
:=http
://www.bitwizard.nl
/mtr
/
36 PKG_MAINTAINER
:=Jonathan McCrohan
<jmccrohan@gmail.com
>
39 define Package
/mtr
/description
40 mtr combines the functionality of the
'traceroute' and
'ping' programs
41 in a single network diagnostic tool.
42 As mtr starts
, it investigates the network connection between the host
43 mtr runs on and a user-specified destination host. After it
44 determines the address of each network hop between the machines
,
45 it sends a sequence ICMP ECHO requests to each one to determine the
46 quality of the link to each machine. As it does this
, it prints
47 running statistics about each machine.
53 $(call autoconf_bool
,CONFIG_IPV6
,ipv6
)
55 define Build
/Configure
56 (cd
$(PKG_BUILD_DIR
); touch \
65 $(call Build
/Configure
/Default
)
68 define Package
/mtr
/install
69 $(INSTALL_DIR
) $(1)/usr
/sbin
70 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/sbin
/mtr
$(1)/usr
/sbin
/
73 $(eval
$(call BuildPackage
,mtr
))