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
11 PKG_REV
:=dd2b75080bc5406ba0b438953b36b72204ba114b
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
20 PKG_MIRROR_HASH
:=4911c96ee4b3c31692664a845dccddabdfef107646d4861b21fd4053bd2b76e8
23 PKG_LICENSE_FILES
:=COPYING
29 include $(INCLUDE_DIR
)/package.mk
35 TITLE
:=Full screen ncurses traceroute tool
36 URL
:=http
://www.bitwizard.nl
/mtr
/
37 PKG_MAINTAINER
:=Jonathan McCrohan
<jmccrohan@gmail.com
>
40 define Package
/mtr
/description
41 mtr combines the functionality of the
'traceroute' and
'ping' programs
42 in a single network diagnostic tool.
43 As mtr starts
, it investigates the network connection between the host
44 mtr runs on and a user-specified destination host. After it
45 determines the address of each network hop between the machines
,
46 it sends a sequence ICMP ECHO requests to each one to determine the
47 quality of the link to each machine. As it does this
, it prints
48 running statistics about each machine.
54 $(call autoconf_bool
,CONFIG_IPV6
,ipv6
)
56 define Build
/Configure
57 (cd
$(PKG_BUILD_DIR
); touch \
66 $(call Build
/Configure
/Default
)
69 define Package
/mtr
/install
70 $(INSTALL_DIR
) $(1)/usr
/sbin
71 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/sbin
/mtr
$(1)/usr
/sbin
/
74 $(eval
$(call BuildPackage
,mtr
))