summaryrefslogtreecommitdiff
path: root/package/libnfc/libnfc.mk
diff options
context:
space:
mode:
authorSimon Dawson <spdawson@gmail.com>2012-05-02 01:40:02 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2012-05-14 22:23:47 +0200
commit2b35574bc097ad8c364c9a09c3095d22b1392b7e (patch)
tree39178880b6e4f5a2d07a151b232687ecc247b7de /package/libnfc/libnfc.mk
parent0340b45da0afdc3ac1de9ea7169ccee5941dfc3c (diff)
libnfc: new package
Signed-off-by: Simon Dawson <spdawson@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/libnfc/libnfc.mk')
-rw-r--r--package/libnfc/libnfc.mk16
1 files changed, 16 insertions, 0 deletions
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))