2014-01-22 15:37:27 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# libnftnl
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2016-12-21 15:47:10 +01:00
|
|
|
LIBNFTNL_VERSION = 1.0.7
|
2014-04-17 15:12:43 +02:00
|
|
|
LIBNFTNL_SITE = http://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
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBNFTNL_XML),y)
|
2014-09-27 21:32:44 +02:00
|
|
|
LIBNFTNL_CONF_OPTS += --with-xml-parsing
|
2014-01-23 15:00:02 +01:00
|
|
|
LIBNFTNL_DEPENDENCIES += mxml
|
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
LIBNFTNL_CONF_OPTS += --without-xml-parsing
|
2014-01-23 15:00:02 +01:00
|
|
|
endif
|
|
|
|
|
2014-01-22 15:37:27 +01:00
|
|
|
$(eval $(autotools-package))
|