package/mtr: add libcap optional dependency

libcap is an optional dependency which is enabled by default since
version 0.88 and
2ff8de3102

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
This commit is contained in:
Fabrice Fontaine 2021-09-25 23:38:03 +02:00 committed by Arnout Vandecappelle (Essensium/Mind)
parent fd863e3fae
commit 3d99699f82

View File

@ -8,7 +8,10 @@ MTR_VERSION = 0.93
MTR_SITE = $(call github,traviscross,mtr,v$(MTR_VERSION))
MTR_AUTORECONF = YES
MTR_CONF_OPTS = --without-gtk
MTR_DEPENDENCIES = host-pkgconf $(if $(BR2_PACKAGE_NCURSES),ncurses)
MTR_DEPENDENCIES = \
host-pkgconf \
$(if $(BR2_PACKAGE_LIBCAP),libcap) \
$(if $(BR2_PACKAGE_NCURSES),ncurses)
MTR_LICENSE = GPL-2.0
MTR_LICENSE_FILES = COPYING
MTR_SELINUX_MODULES = netutils