kumquat-buildroot/package/knock/knock.mk
Fabrice Fontaine 98728c893d package/knock: add knockd option
Add knockd option to make libpcap and MMU optional and enable it by
default for backward compatibility

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2021-10-18 22:02:56 +02:00

24 lines
636 B
Makefile

################################################################################
#
# knock
#
################################################################################
KNOCK_VERSION = 0.8
KNOCK_SITE = $(call github,jvinet,knock,v$(KNOCK_VERSION))
KNOCK_AUTORECONF = YES
KNOCK_LICENSE = GPL-2.0+
KNOCK_LICENSE_FILES = COPYING
ifeq ($(BR2_PACKAGE_KNOCK_KNOCKD),y)
KNOCK_DEPENDENCIES += libpcap
KNOCK_CONF_OPTS += --enable-knockd
ifeq ($(BR2_STATIC_LIBS),y)
KNOCK_CONF_OPTS += LIBS="`$(STAGING_DIR)/usr/bin/pcap-config --static --additional-libs`"
endif
else
KNOCK_CONF_OPTS += --disable-knockd
endif
$(eval $(autotools-package))