2 # Copyright (C) 2006-2012 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
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=ftp://ftp.bitwizard.nl/mtr
16 PKG_MD5SUM:=10601ea543fda3e51545c4bce195b64c
22 include $(INCLUDE_DIR)/package.mk
28 TITLE:=Full screen ncurses traceroute tool
29 URL:=http://www.bitwizard.nl/mtr/
32 define Package/mtr/description
33 mtr combines the functionality of the 'traceroute' and 'ping' programs
34 in a single network diagnostic tool.
35 As mtr starts, it investigates the network connection between the host
36 mtr runs on and a user-specified destination host. After it
37 determines the address of each network hop between the machines,
38 it sends a sequence ICMP ECHO requests to each one to determine the
39 quality of the link to each machine. As it does this, it prints
40 running statistics about each machine.
47 # ac_cv_lib_resolv_res_mkquery=no \
49 define Build/Configure
50 (cd $(PKG_BUILD_DIR); touch \
59 $(call Build/Configure/Default)
62 define Package/mtr/install
63 $(INSTALL_DIR) $(1)/usr/sbin
64 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/mtr $(1)/usr/sbin/
67 $(eval $(call BuildPackage,mtr))