source: packages/net/mtr/Makefile @ 28398

Last change on this file since 28398 was 28398, checked in by acoul, 5 years ago

net/mtr: update to version 0.81

  • Property copyright set to Copyright (C) 2006 OpenWrt.org
  • Property licence set to GPLv2
  • Property svn:eol-style set to native
File size: 1.6 KB
Line 
1#
2# Copyright (C) 2006-2010 OpenWrt.org
3#
4# This is free software, licensed under the GNU General Public License v2.
5# See /LICENSE for more information.
6#
7
8include $(TOPDIR)/rules.mk
9
10PKG_NAME:=mtr
11PKG_VERSION:=0.81
12PKG_RELEASE:=1
13
14PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15PKG_SOURCE_URL:=ftp://ftp.bitwizard.nl/mtr
16PKG_MD5SUM:=b7a7914f1fc1b5a21ab10bdca44356e1
17
18PKG_INSTALL:=1
19
20PKG_FIXUP:=autoreconf
21
22include $(INCLUDE_DIR)/package.mk
23
24define Package/mtr
25  SECTION:=net
26  CATEGORY:=Network
27  DEPENDS:=+libncurses
28  TITLE:=Full screen ncurses traceroute tool
29  URL:=http://www.bitwizard.nl/mtr/
30endef
31
32define 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.
41endef
42
43CONFIGURE_ARGS += \
44        --without-gtk \
45
46#CONFIGURE_VARS += \
47#       ac_cv_lib_resolv_res_mkquery=no \
48
49define Build/Configure
50        (cd $(PKG_BUILD_DIR); touch \
51                configure.in \
52                aclocal.m4 \
53                Makefile.in \
54                img/Makefile.in \
55                stamp-h.in \
56                config.h.in \
57                configure \
58        );
59        $(call Build/Configure/Default)
60endef
61
62define Package/mtr/install
63        $(INSTALL_DIR) $(1)/usr/sbin
64        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/mtr $(1)/usr/sbin/
65endef
66
67$(eval $(call BuildPackage,mtr))
Note: See TracBrowser for help on using the repository browser.