2014-01-22 15:37:27 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# libnftnl
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2014-06-25 21:01:26 +02:00
|
|
|
LIBNFTNL_VERSION = 1.0.2
|
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
|
|
|
|
LIBNFTNL_LICENSE = GPLv2+
|
|
|
|
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)
|
|
|
|
LIBNFTNL_CONF_OPT += --with-json-parsing
|
|
|
|
LIBNFTNL_DEPENDENCIES += jansson
|
|
|
|
else
|
|
|
|
LIBNFTNL_CONF_OPT += --without-json-parsing
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBNFTNL_XML),y)
|
|
|
|
LIBNFTNL_CONF_OPT += --with-xml-parsing
|
|
|
|
LIBNFTNL_DEPENDENCIES += mxml
|
|
|
|
else
|
|
|
|
LIBNFTNL_CONF_OPT += --without-xml-parsing
|
|
|
|
endif
|
|
|
|
|
2014-01-22 15:37:27 +01:00
|
|
|
$(eval $(autotools-package))
|