diff options
Diffstat (limited to 'package/libnfc')
-rw-r--r-- | package/libnfc/Config.in | 8 | ||||
-rw-r--r-- | package/libnfc/libnfc.mk | 16 |
2 files changed, 24 insertions, 0 deletions
diff --git a/package/libnfc/Config.in b/package/libnfc/Config.in new file mode 100644 index 000000000..42418e0da --- /dev/null +++ b/package/libnfc/Config.in @@ -0,0 +1,8 @@ +config BR2_PACKAGE_LIBNFC + bool "libnfc" + select BR2_PACKAGE_LIBUSB + select BR2_PACKAGE_LIBUSB_COMPAT + help + Public platform independent Near Field Communication (NFC) library. + + http://www.libnfc.org/ diff --git a/package/libnfc/libnfc.mk b/package/libnfc/libnfc.mk new file mode 100644 index 000000000..f1028b19e --- /dev/null +++ b/package/libnfc/libnfc.mk @@ -0,0 +1,16 @@ +############################################################# +# +# libnfc +# +############################################################# +LIBNFC_VERSION = 1.5.1 +LIBNFC_SITE = http://libnfc.googlecode.com/files/ +LIBNFC_SOURCE = libnfc-$(LIBNFC_VERSION).tar.gz +LIBNFC_INSTALL_STAGING = YES + +LIBNFC_DEPENDENCIES = host-pkg-config libusb libusb-compat + +# N.B. The acr122 driver requires pcsc-lite. +LIBNFC_CONF_OPT = --with-drivers=arygon,pn53x_usb + +$(eval $(call AUTOTARGETS)) |