mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
mtr: Fix compile with libcap
Selecting libcap in addition to mtr causes it to error with Package mtr is missing dependencies for the following libraries: libcap.so.2 Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
+4
-12
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user