2014-01-22 15:37:27 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# libnftnl
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2018-11-13 21:00:08 +01:00
|
|
|
LIBNFTNL_VERSION = 1.1.2
|
|
|
|
LIBNFTNL_SITE = https://netfilter.org/projects/libnftnl/files
|
2014-01-22 15:37:27 +01:00
|
|
|
LIBNFTNL_SOURCE = libnftnl-$(LIBNFTNL_VERSION).tar.bz2
|
2017-03-30 15:43:32 +02:00
|
|
|
LIBNFTNL_LICENSE = GPL-2.0+
|
2014-01-22 15:37:27 +01:00
|
|
|
LIBNFTNL_LICENSE_FILES = COPYING
|
|
|
|
LIBNFTNL_INSTALL_STAGING = YES
|
|
|
|
LIBNFTNL_DEPENDENCIES = host-pkgconf libmnl
|
|
|
|
|
2014-01-23 15:00:02 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_LIBNFTNL_JSON),y)
|
2014-09-27 21:32:44 +02:00
|
|
|
LIBNFTNL_CONF_OPTS += --with-json-parsing
|
2014-01-23 15:00:02 +01:00
|
|
|
LIBNFTNL_DEPENDENCIES += jansson
|
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
LIBNFTNL_CONF_OPTS += --without-json-parsing
|
2014-01-23 15:00:02 +01:00
|
|
|
endif
|
|
|
|
|
2014-01-22 15:37:27 +01:00
|
|
|
$(eval $(autotools-package))
|