sngrep: fix error if gnutls and openssl are both enabled
[buildroot-gz.git] / package / libnfc / libnfc.mk
blobaceedb09aeaddb91343230e93c1ad41c200d558c
1 ################################################################################
3 # libnfc
5 ################################################################################
7 LIBNFC_VERSION = 1.7.1
8 LIBNFC_SOURCE = libnfc-$(LIBNFC_VERSION).tar.bz2
9 LIBNFC_SITE = https://github.com/nfc-tools/libnfc/releases/download/libnfc-$(LIBNFC_VERSION)
10 LIBNFC_LICENSE = LGPLv3+
11 LIBNFC_LICENSE_FILES = COPYING
12 LIBNFC_AUTORECONF = YES
13 LIBNFC_INSTALL_STAGING = YES
15 LIBNFC_DEPENDENCIES = host-pkgconf libusb libusb-compat
17 # N.B. The acr122 driver requires pcsc-lite.
18 LIBNFC_CONF_OPTS = --with-drivers=arygon,pn53x_usb
20 ifeq ($(BR2_PACKAGE_LIBNFC_EXAMPLES),y)
21 LIBNFC_CONF_OPTS += --enable-example
22 LIBNFC_DEPENDENCIES += readline
23 else
24 LIBNFC_CONF_OPTS += --disable-example
25 endif
27 $(eval $(autotools-package))