2014-04-17 15:12:44 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# nftables
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2016-12-21 15:47:11 +01:00
|
|
|
NFTABLES_VERSION = 0.7
|
2014-04-17 15:12:44 +02:00
|
|
|
NFTABLES_SOURCE = nftables-$(NFTABLES_VERSION).tar.bz2
|
|
|
|
NFTABLES_SITE = http://www.netfilter.org/projects/nftables/files
|
2014-12-07 00:21:53 +01:00
|
|
|
NFTABLES_DEPENDENCIES = gmp libmnl libnftnl host-bison host-flex \
|
2017-07-03 23:07:17 +02:00
|
|
|
host-pkgconf $(TARGET_NLS_DEPENDENCIES)
|
2017-03-30 15:43:32 +02:00
|
|
|
NFTABLES_LICENSE = GPL-2.0
|
2014-04-17 15:12:44 +02:00
|
|
|
NFTABLES_LICENSE_FILES = COPYING
|
|
|
|
|
2014-12-07 00:21:53 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_READLINE),y)
|
|
|
|
NFTABLES_DEPENDENCIES += readline
|
|
|
|
NFTABLES_LIBS += -lncurses
|
|
|
|
else
|
2016-12-21 15:47:11 +01:00
|
|
|
NFTABLES_CONF_OPTS += --without-cli
|
2014-12-07 00:21:53 +01:00
|
|
|
endif
|
|
|
|
|
2014-12-03 22:41:29 +01:00
|
|
|
ifeq ($(BR2_STATIC_LIBS)$(BR2_PACKAGE_LIBNFTNL_JSON),yy)
|
2014-11-26 20:49:02 +01:00
|
|
|
NFTABLES_LIBS += -ljansson -lm
|
|
|
|
endif
|
2014-12-03 22:41:29 +01:00
|
|
|
ifeq ($(BR2_STATIC_LIBS)$(BR2_PACKAGE_LIBNFTNL_XML),yy)
|
2014-11-26 20:49:02 +01:00
|
|
|
NFTABLES_LIBS += -lmxml -lpthread
|
|
|
|
endif
|
|
|
|
|
2014-08-16 15:35:47 +02:00
|
|
|
NFTABLES_CONF_ENV = \
|
|
|
|
ac_cv_prog_CONFIG_PDF=no \
|
2014-12-27 15:50:20 +01:00
|
|
|
LIBS="$(NFTABLES_LIBS)" \
|
|
|
|
DBLATEX=no \
|
|
|
|
DOCBOOK2X_MAN=no \
|
|
|
|
DOCBOOK2MAN=no \
|
|
|
|
DB2X_DOCBOOK2MAN=no
|
2014-05-06 12:59:45 +02:00
|
|
|
|
2014-04-17 15:12:44 +02:00
|
|
|
$(eval $(autotools-package))
|