|
|
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk |
|
|
|
|
|
|
|
PKG_NAME:=mtr |
|
|
|
PKG_VERSION:=0.92 |
|
|
|
PKG_RELEASE:=1 |
|
|
|
PKG_RELEASE:=2 |
|
|
|
|
|
|
|
PKG_MAINTAINER:=Jonathan McCrohan <jmccrohan@gmail.com> |
|
|
|
|
|
|
@ -32,7 +32,7 @@ define Package/mtr |
|
|
|
CATEGORY:=Network |
|
|
|
DEPENDS:=+libncurses |
|
|
|
TITLE:=Full screen ncurses traceroute tool |
|
|
|
URL:=http://www.bitwizard.nl/mtr/ |
|
|
|
URL:=https://www.bitwizard.nl/mtr/ |
|
|
|
endef |
|
|
|
|
|
|
|
define Package/mtr/description |
|
|
@ -48,25 +48,17 @@ endef |
|
|
|
|
|
|
|
CONFIGURE_ARGS += \
|
|
|
|
--without-gtk \
|
|
|
|
--without-glib \
|
|
|
|
$(call autoconf_bool,CONFIG_IPV6,ipv6) |
|
|
|
|
|
|
|
define Build/Configure |
|
|
|
(cd $(PKG_BUILD_DIR); touch \
|
|
|
|
configure.in \
|
|
|
|
aclocal.m4 \
|
|
|
|
Makefile.in \
|
|
|
|
img/Makefile.in \
|
|
|
|
stamp-h.in \
|
|
|
|
config.h.in \
|
|
|
|
configure \
|
|
|
|
); |
|
|
|
echo $(PKG_VERSION) > .tarball-version |
|
|
|
$(call Build/Configure/Default) |
|
|
|
endef |
|
|
|
|
|
|
|
define Package/mtr/install |
|
|
|
$(INSTALL_DIR) $(1)/usr/sbin |
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/mtr $(1)/usr/sbin/ |
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/mtr-packet $(1)/usr/sbin/ |
|
|
|
endef |
|
|
|
|
|
|
|
$(eval $(call BuildPackage,mtr)) |