2012-05-02 03:40:02 +02:00
|
|
|
#############################################################
|
|
|
|
#
|
|
|
|
# libnfc
|
|
|
|
#
|
|
|
|
#############################################################
|
2012-11-13 03:56:31 +01:00
|
|
|
LIBNFC_VERSION = fda8d60ce062
|
|
|
|
LIBNFC_SITE = http://libnfc.googlecode.com/git/
|
|
|
|
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.
|
|
|
|
LIBNFC_CONF_OPT = --with-drivers=arygon,pn53x_usb
|
|
|
|
|
2012-06-10 11:43:43 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_LIBNFC_EXAMPLES),y)
|
|
|
|
LIBNFC_CONF_OPT += --enable-example
|
|
|
|
LIBNFC_DEPENDENCIES += readline
|
|
|
|
else
|
|
|
|
LIBNFC_CONF_OPT += --disable-example
|
|
|
|
endif
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|