1 ################################################################################
5 ################################################################################
7 LIBNFTNL_VERSION
= 1.0.7
8 LIBNFTNL_SITE
= http
://netfilter.org
/projects
/libnftnl
/files
9 LIBNFTNL_SOURCE
= libnftnl-
$(LIBNFTNL_VERSION
).
tar.bz2
10 LIBNFTNL_LICENSE
= GPLv2
+
11 LIBNFTNL_LICENSE_FILES
= COPYING
12 LIBNFTNL_INSTALL_STAGING
= YES
13 LIBNFTNL_DEPENDENCIES
= host-pkgconf libmnl
15 ifeq ($(BR2_PACKAGE_LIBNFTNL_JSON
),y
)
16 LIBNFTNL_CONF_OPTS
+= --with-json-parsing
17 LIBNFTNL_DEPENDENCIES
+= jansson
19 LIBNFTNL_CONF_OPTS
+= --without-json-parsing
22 ifeq ($(BR2_PACKAGE_LIBNFTNL_XML
),y
)
23 LIBNFTNL_CONF_OPTS
+= --with-xml-parsing
24 LIBNFTNL_DEPENDENCIES
+= mxml
26 LIBNFTNL_CONF_OPTS
+= --without-xml-parsing
29 $(eval
$(autotools-package
))