kumquat-buildroot/package/mtr/mtr.mk
Fabrice Fontaine 79cfc68419 package/mtr: bump to version 0.95
https://github.com/traviscross/mtr/blob/v0.95/NEWS

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2022-10-30 17:20:15 +01:00

39 lines
864 B
Makefile

################################################################################
#
# mtr
#
################################################################################
MTR_VERSION = 0.95
MTR_SITE = $(call github,traviscross,mtr,v$(MTR_VERSION))
MTR_AUTORECONF = YES
MTR_DEPENDENCIES = \
host-pkgconf \
$(if $(BR2_PACKAGE_LIBCAP),libcap)
MTR_LICENSE = GPL-2.0
MTR_LICENSE_FILES = COPYING
MTR_SELINUX_MODULES = netutils
ifeq ($(BR2_PACKAGE_JANSSON),y)
MTR_CONF_OPTS += --with-jansson
MTR_DEPENDENCIES += jansson
else
MTR_CONF_OPTS += --without-jansson
endif
ifeq ($(BR2_PACKAGE_LIBGTK3),y)
MTR_CONF_OPTS += --with-gtk
MTR_DEPENDENCIES += libgtk3
else
MTR_CONF_OPTS += --without-gtk
endif
ifeq ($(BR2_PACKAGE_NCURSES),y)
MTR_CONF_OPTS += --with-ncurses
MTR_DEPENDENCIES += ncurses
else
MTR_CONF_OPTS += --without-ncurses
endif
$(eval $(autotools-package))