Blame view

buildroot/buildroot-2016.08.1/package/libnftnl/libnftnl.mk 817 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
  ################################################################################
  #
  # libnftnl
  #
  ################################################################################
  
  LIBNFTNL_VERSION = 1.0.6
  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))