1 ################################################################################
5 ################################################################################
7 LIBNFC_VERSION = 7b7f5061427b5456835dd48923a8cc0563cfd1e9
8 LIBNFC_SITE = http://libnfc.googlecode.com/git
9 LIBNFC_SITE_METHOD = git
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
24 LIBNFC_CONF_OPTS += --disable-example
27 $(eval $(autotools-package))