![Fabrice Fontaine](/assets/img/avatar_default.png)
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
23 lines
656 B
Makefile
23 lines
656 B
Makefile
################################################################################
|
|
#
|
|
# libnftnl
|
|
#
|
|
################################################################################
|
|
|
|
LIBNFTNL_VERSION = 1.1.7
|
|
LIBNFTNL_SITE = https://netfilter.org/projects/libnftnl/files
|
|
LIBNFTNL_SOURCE = libnftnl-$(LIBNFTNL_VERSION).tar.bz2
|
|
LIBNFTNL_LICENSE = GPL-2.0+
|
|
LIBNFTNL_LICENSE_FILES = COPYING
|
|
LIBNFTNL_INSTALL_STAGING = YES
|
|
LIBNFTNL_DEPENDENCIES = host-pkgconf libmnl
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBNFTNL_JSON),y)
|
|
LIBNFTNL_CONF_OPTS += --with-json-parsing
|
|
LIBNFTNL_DEPENDENCIES += jansson
|
|
else
|
|
LIBNFTNL_CONF_OPTS += --without-json-parsing
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|