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
|
|
|
|
2014-01-08 14:37:56 +01:00
|
|
|
LIBNFC_VERSION = 7b7f5061427b5456835dd48923a8cc0563cfd1e9
|
2014-07-31 10:46:58 +02:00
|
|
|
LIBNFC_SITE = http://libnfc.googlecode.com/git
|
2012-11-13 03:56:31 +01:00
|
|
|
LIBNFC_SITE_METHOD = git
|
2012-07-30 09:32:08 +02:00
|
|
|
LIBNFC_LICENSE = LGPLv3+
|
|
|
|
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))
|