kumquat-buildroot/package/wavemon/wavemon.mk
Fabrice Fontaine 85e17e43c7 package/wavemon: add libcap optional dependency
libcap is an optional dependency which is enabled by default since
version 0.7.1 and
669c53e335
and can be explicitly enabled or disabled since version 0.9.0 and
af36fbe756

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
(cherry picked from commit c3712a86ad)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2021-10-05 16:17:26 +02:00

24 lines
638 B
Makefile

################################################################################
#
# wavemon
#
################################################################################
WAVEMON_VERSION = 0.9.1
WAVEMON_SITE = $(call github,uoaerg,wavemon,v$(WAVEMON_VERSION))
WAVEMON_LICENSE = GPL-3.0+
WAVEMON_LICENSE_FILES = COPYING
WAVEMON_DEPENDENCIES = host-pkgconf libnl ncurses
# Handwritten Makefile.in, automake isn't used
WAVEMON_MAKE_OPTS = CC="$(TARGET_CC)"
ifeq ($(BR2_PACKAGE_LIBCAP),y)
WAVEMON_CONF_OPTS += --with-libcap
WAVEMON_DEPENDENCIES += libcap
else
WAVEMON_CONF_OPTS += --without-libcap
endif
$(eval $(autotools-package))