kmscube: new package
[buildroot-gz.git] / package / libnftnl / libnftnl.mk
blob0e1ddf8bc67d9ab8f7218505a3f3a073ecde96ef
1 ################################################################################
3 # libnftnl
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
18 else
19 LIBNFTNL_CONF_OPTS += --without-json-parsing
20 endif
22 ifeq ($(BR2_PACKAGE_LIBNFTNL_XML),y)
23 LIBNFTNL_CONF_OPTS += --with-xml-parsing
24 LIBNFTNL_DEPENDENCIES += mxml
25 else
26 LIBNFTNL_CONF_OPTS += --without-xml-parsing
27 endif
29 $(eval $(autotools-package))