2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2012-05-02 03:40:02 +02:00
|
|
|
#
|
|
|
|
# libnfc
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2013-06-06 01:53:25 +02:00
|
|
|
|
2015-07-26 22:38:34 +02:00
|
|
|
LIBNFC_VERSION = 1.7.1
|
|
|
|
LIBNFC_SOURCE = libnfc-$(LIBNFC_VERSION).tar.bz2
|
|
|
|
LIBNFC_SITE = https://github.com/nfc-tools/libnfc/releases/download/libnfc-$(LIBNFC_VERSION)
|
2017-03-30 15:43:35 +02:00
|
|
|
LIBNFC_LICENSE = LGPL-3.0+
|
2012-07-30 09:32:08 +02:00
|
|
|
LIBNFC_LICENSE_FILES = COPYING
|
2012-06-10 11:43:43 +02:00
|
|
|
LIBNFC_AUTORECONF = YES
|
2012-05-02 03:40:02 +02:00
|
|
|
LIBNFC_INSTALL_STAGING = YES
|
|
|
|
|
2012-10-22 17:47:52 +02:00
|
|
|
LIBNFC_DEPENDENCIES = host-pkgconf libusb libusb-compat
|
2012-05-02 03:40:02 +02:00
|
|
|
|
|
|
|
# N.B. The acr122 driver requires pcsc-lite.
|
2014-09-27 21:32:44 +02:00
|
|
|
LIBNFC_CONF_OPTS = --with-drivers=arygon,pn53x_usb
|
2012-05-02 03:40:02 +02:00
|
|
|
|
2012-06-10 11:43:43 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_LIBNFC_EXAMPLES),y)
|
2014-09-27 21:32:44 +02:00
|
|
|
LIBNFC_CONF_OPTS += --enable-example
|
2012-06-10 11:43:43 +02:00
|
|
|
LIBNFC_DEPENDENCIES += readline
|
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
LIBNFC_CONF_OPTS += --disable-example
|
2012-06-10 11:43:43 +02:00
|
|
|
endif
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|