aaffd209fa
To be consistent with the recent change of FOO_MAKE_OPT into FOO_MAKE_OPTS, make the same change for FOO_CONF_OPT. Sed command used: find * -type f | xargs sed -i 's#_CONF_OPT\>#&S#g' Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
30 lines
817 B
Makefile
30 lines
817 B
Makefile
################################################################################
|
|
#
|
|
# libnftnl
|
|
#
|
|
################################################################################
|
|
|
|
LIBNFTNL_VERSION = 1.0.2
|
|
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
|
|
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
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBNFTNL_XML),y)
|
|
LIBNFTNL_CONF_OPTS += --with-xml-parsing
|
|
LIBNFTNL_DEPENDENCIES += mxml
|
|
else
|
|
LIBNFTNL_CONF_OPTS += --without-xml-parsing
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|