Skip to contentSkip to conversation

libnfc: new package

PATCH New spdawson at gmail.com 2 participants 2 messages May 2, 2012 – May 14, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libnfc: new package

From: Simon Dawson <[email protected]>

---
 package/Config.in        |    1 +
 package/libnfc/Config.in |    8 ++++++++
 package/libnfc/libnfc.mk |   16 ++++++++++++++++
 3 files changed, 25 insertions(+)
 create mode 100644 package/libnfc/Config.in
 create mode 100644 package/libnfc/libnfc.mk
package/Config.in +1 -0
index ed66c05..a479528 100644
@@ -337,6 +337,7 @@ source "package/tslib/Config.in"
 source "package/libftdi/Config.in"
 source "package/libhid/Config.in"
 source "package/libiqrf/Config.in"
+source "package/libnfc/Config.in"
 source "package/libusb/Config.in"
 source "package/libusb-compat/Config.in"
 source "package/libv4l/Config.in"
package/libnfc/Config.in new file +8 -0
new file mode 100644
index 0000000..42418e0
@@ -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/
package/libnfc/libnfc.mk new file +16 -0
new file mode 100644
index 0000000..f1028b1
@@ -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))
Signature · 1 line
1.7.9.5
#1 lore raw

PATCH 1/1 libnfc: new package

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"spdawson" == spdawson <[email protected]> writes:

spdawson> From: Simon Dawson <[email protected]>

Committed to next, thanks.

Signature · 1 line
Bye, Peter Korsgaard