1 ################################################################################
5 ################################################################################
8 NFTABLES_SOURCE
= nftables-
$(NFTABLES_VERSION
).
tar.bz2
9 NFTABLES_SITE
= http
://www.netfilter.org
/projects
/nftables
/files
10 NFTABLES_DEPENDENCIES
= gmp libmnl libnftnl host-bison host-flex \
11 host-pkgconf
$(if
$(BR2_NEEDS_GETTEXT
),gettext
)
12 NFTABLES_LICENSE
= GPLv2
13 NFTABLES_LICENSE_FILES
= COPYING
15 ifeq ($(BR2_PACKAGE_READLINE
),y
)
16 NFTABLES_DEPENDENCIES
+= readline
17 NFTABLES_LIBS
+= -lncurses
19 NFTABLES_CONF_OPTS
= --without-cli
22 ifeq ($(BR2_STATIC_LIBS
)$(BR2_PACKAGE_LIBNFTNL_JSON
),yy
)
23 NFTABLES_LIBS
+= -ljansson
-lm
25 ifeq ($(BR2_STATIC_LIBS
)$(BR2_PACKAGE_LIBNFTNL_XML
),yy
)
26 NFTABLES_LIBS
+= -lmxml
-lpthread
30 ac_cv_prog_CONFIG_PDF
=no \
31 LIBS
="$(NFTABLES_LIBS)" \
37 $(eval
$(autotools-package
))