Blame view

buildroot/buildroot-2016.08.1/package/nftables/nftables.mk 1008 Bytes
6b13f685e   김민수   BSP 최초 추가
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
  ################################################################################
  #
  # nftables
  #
  ################################################################################
  
  NFTABLES_VERSION = 0.6
  NFTABLES_SOURCE = nftables-$(NFTABLES_VERSION).tar.bz2
  NFTABLES_SITE = http://www.netfilter.org/projects/nftables/files
  NFTABLES_DEPENDENCIES = gmp libmnl libnftnl host-bison host-flex \
  	host-pkgconf $(if $(BR2_NEEDS_GETTEXT),gettext)
  NFTABLES_LICENSE = GPLv2
  NFTABLES_LICENSE_FILES = COPYING
  
  ifeq ($(BR2_PACKAGE_READLINE),y)
  NFTABLES_DEPENDENCIES += readline
  NFTABLES_LIBS += -lncurses
  else
  NFTABLES_CONF_OPTS = --without-cli
  endif
  
  ifeq ($(BR2_STATIC_LIBS)$(BR2_PACKAGE_LIBNFTNL_JSON),yy)
  NFTABLES_LIBS += -ljansson -lm
  endif
  ifeq ($(BR2_STATIC_LIBS)$(BR2_PACKAGE_LIBNFTNL_XML),yy)
  NFTABLES_LIBS += -lmxml -lpthread
  endif
  
  NFTABLES_CONF_ENV = \
  	ac_cv_prog_CONFIG_PDF=no \
  	LIBS="$(NFTABLES_LIBS)" \
  	DBLATEX=no \
  	DOCBOOK2X_MAN=no \
  	DOCBOOK2MAN=no \
  	DB2X_DOCBOOK2MAN=no
  
  $(eval $(autotools-package))