24 lines
636 B
Makefile
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))
|