mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-19 16:40:46 -09:00
Use --with-ncurses and --without-ncurses options which are available since version 0.88 and4e2a948a16Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> (cherry picked from commitedb65b4e6d) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
26 lines
624 B
Makefile
26 lines
624 B
Makefile
################################################################################
|
|
#
|
|
# mtr
|
|
#
|
|
################################################################################
|
|
|
|
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_LIBCAP),libcap)
|
|
MTR_LICENSE = GPL-2.0
|
|
MTR_LICENSE_FILES = COPYING
|
|
MTR_SELINUX_MODULES = netutils
|
|
|
|
ifeq ($(BR2_PACKAGE_NCURSES),y)
|
|
MTR_CONF_OPTS += --with-ncurses
|
|
MTR_DEPENDENCIES += ncurses
|
|
else
|
|
MTR_CONF_OPTS += --without-ncurses
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|