383f912ed2
Fixes: http://autobuild.buildroot.net/results/848/848331218676b4e2be78f805ba3a74cfaf87c56f/ Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
32 lines
867 B
Makefile
32 lines
867 B
Makefile
################################################################################
|
|
#
|
|
# libnftnl
|
|
#
|
|
################################################################################
|
|
|
|
LIBNFTNL_VERSION = 1.0.1
|
|
LIBNFTNL_SITE = http://netfilter.org/projects/libnftnl/files
|
|
LIBNFTNL_SOURCE = libnftnl-$(LIBNFTNL_VERSION).tar.bz2
|
|
LIBNFTNL_LICENSE = GPLv2+
|
|
LIBNFTNL_LICENSE_FILES = COPYING
|
|
LIBNFTNL_INSTALL_STAGING = YES
|
|
# For uclinux support patch
|
|
LIBNFTNL_AUTORECONF = YES
|
|
LIBNFTNL_DEPENDENCIES = host-pkgconf libmnl
|
|
|
|
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
|
|
|
|
$(eval $(autotools-package))
|