Add libnfc recipes.
[AGL/meta-agl-demo.git] / recipes-connectivity / libnfc / libnfc_git.bb
diff --git a/recipes-connectivity/libnfc/libnfc_git.bb b/recipes-connectivity/libnfc/libnfc_git.bb
new file mode 100644 (file)
index 0000000..bd216f8
--- /dev/null
@@ -0,0 +1,18 @@
+SUMMARY     = "libnfc"
+DESCRIPTION = "Platform independent Near Field Communication (NFC) library"
+HOMEPAGE    = "https://github.com/nfc-tools/libnfc"
+SECTION     = "apps"
+
+DEPENDS     = "libusb"
+
+LICENSE = "LGPLv3"
+LIC_FILES_CHKSUM = "file://${S}/COPYING;md5=b52f2d57d10c4f7ee67a7eb9615d5d24"
+
+inherit cmake pkgconfig
+
+SRC_URI = "git://github.com/nfc-tools/libnfc;protocol=https;branch=master"
+SRCREV = "2d4543673e9b76c02679ca8b89259659f1afd932"
+
+PV = "1.7.1+git${SRCPV}"
+S  = "${WORKDIR}/git"
+