[OE-core] [PATCH 2/2] neardal: Add recipe

Oleg Zhurakivskyy oleg.zhurakivskyy at intel.com
Thu Feb 12 13:01:37 UTC 2015


Signed-off-by: Oleg Zhurakivskyy <oleg.zhurakivskyy at intel.com>
---
 meta/recipes-connectivity/neardal/neardal.inc      | 22 +++++++++++++++++++
 .../recipes-connectivity/neardal/neardal/ncl.patch | 25 ++++++++++++++++++++++
 meta/recipes-connectivity/neardal/neardal_0.14.bb  |  6 ++++++
 3 files changed, 53 insertions(+)
 create mode 100644 meta/recipes-connectivity/neardal/neardal.inc
 create mode 100644 meta/recipes-connectivity/neardal/neardal/ncl.patch
 create mode 100644 meta/recipes-connectivity/neardal/neardal_0.14.bb

diff --git a/meta/recipes-connectivity/neardal/neardal.inc b/meta/recipes-connectivity/neardal/neardal.inc
new file mode 100644
index 0000000..dab392a
--- /dev/null
+++ b/meta/recipes-connectivity/neardal/neardal.inc
@@ -0,0 +1,22 @@
+SUMMARY = "Neard Abstraction Library (NeardAL)"
+
+DESCRIPTION = "NeardAL is a library that provides a simple C API \
+to exchange data with NFC daemon (Neard)."
+
+HOMEPAGE = "https://github.com/connectivity/neardal"
+SECTION = "libs"
+LICENSE = "LGPLv2"
+
+DEPENDS = "glib-2.0 libedit"
+
+LIC_FILES_CHKSUM = "file://COPYING;md5=6a6e689d19255cf0557f3fe7d7068212 \
+	file://lib/neardal.h;endline=20;md5=a53e93aea9357387078ed217565c0a99"
+
+inherit autotools pkgconfig
+
+PACKAGES =+ "${PN}-tools ${PN}-tools-dbg"
+
+FILES_${PN}-tools = "${libexecdir}/ncl"
+FILES_${PN}-tools-dbg += "${libexecdir}/.debug"
+
+RDEPENDS_${PN}-tools = "bash"
diff --git a/meta/recipes-connectivity/neardal/neardal/ncl.patch b/meta/recipes-connectivity/neardal/neardal/ncl.patch
new file mode 100644
index 0000000..baef6cc
--- /dev/null
+++ b/meta/recipes-connectivity/neardal/neardal/ncl.patch
@@ -0,0 +1,25 @@
+From eab402bae42c3ea5caa8d540b6702d39e56c84c1 Mon Sep 17 00:00:00 2001
+From: Oleg Zhurakivskyy <oleg.zhurakivskyy at intel.com>
+Date: Tue, 10 Feb 2015 12:58:39 +0200
+Subject: [PATCH] build: Install ncl
+
+Signed-off-by: Oleg Zhurakivskyy <oleg.zhurakivskyy at intel.com>
+---
+ ncl/Makefile.am | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/ncl/Makefile.am b/ncl/Makefile.am
+index beda75b..c06742f 100644
+--- a/ncl/Makefile.am
++++ b/ncl/Makefile.am
+@@ -1,6 +1,6 @@
+ AM_CPPFLAGS = @gio_CFLAGS@ -I$(top_builddir)/lib -I$(top_srcdir)/lib
+ 
+-noinst_PROGRAMS=ncl
++libexec_PROGRAMS = ncl
+ 
+ ncl_SOURCES = \
+ 	$(srcdir)/ncl.c $(srcdir)/ncl.h \
+-- 
+2.1.0
+
diff --git a/meta/recipes-connectivity/neardal/neardal_0.14.bb b/meta/recipes-connectivity/neardal/neardal_0.14.bb
new file mode 100644
index 0000000..5306e49
--- /dev/null
+++ b/meta/recipes-connectivity/neardal/neardal_0.14.bb
@@ -0,0 +1,6 @@
+require neardal.inc
+
+SRC_URI = "https://github.com/connectivity/neardal/archive/${PV}.tar.gz \
+	file://ncl.patch"
+SRC_URI[md5sum] = "3dbda58253ca30ee6a7a7573eaa68f40"
+SRC_URI[sha256sum] = "157d320bd831d91a82203d9697d2d2a2cebdb515d6e1c4ce04fe8ef27d1da615"
-- 
2.1.0




More information about the Openembedded-core mailing list