Add libnfc recipes. 55/12655/4
authorRonan Le Martret <ronan.lemartret@iot.bzh>
Mon, 18 Dec 2017 05:10:11 +0000 (06:10 +0100)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tue, 19 Dec 2017 18:56:27 +0000 (18:56 +0000)
 libnfc is mandatory for agl service nfc.

Change-Id: Ie542178c71a1b34b6925b3c2322a1386b7866fa1
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
recipes-connectivity/libnfc/libnfc_git.bb [new file with mode: 0644]

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"
+