[oe] [meta-oe][PATCH] libiio: add recipe

Andrea Galbusera gizero at gmail.com
Wed Nov 2 06:10:44 UTC 2016


libiio is a C library for interfacing with IIO devices. It abstracts
the low-level details of the hardware, and provides a simple yet complete
programming interface.

This recipe provides the following packages:
* libiio: main package with C library
* libiio-iiod: user space daemon providing network backend to iio devices
* libiio-tests: user space test applications using libiio
* libiio-python: python bindings
---
 meta-oe/recipes-support/libiio/libiio_2015.2-r1.bb | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 meta-oe/recipes-support/libiio/libiio_2015.2-r1.bb

diff --git a/meta-oe/recipes-support/libiio/libiio_2015.2-r1.bb b/meta-oe/recipes-support/libiio/libiio_2015.2-r1.bb
new file mode 100644
index 0000000..8c062b6
--- /dev/null
+++ b/meta-oe/recipes-support/libiio/libiio_2015.2-r1.bb
@@ -0,0 +1,21 @@
+SUMMARY = "Library for interfacing with IIO devices"
+HOMEPAGE = "https://wiki.analog.com/resources/tools-software/linux-software/libiio"
+SECTION = "libs"
+LICENSE = "LGPLv2.1+"
+LIC_FILES_CHKSUM = "file://COPYING.txt;md5=7c13b3376cea0ce68d2d2da0a1b3a72c"
+
+SRC_URI = "https://github.com/analogdevicesinc/${PN}/archive/${PV}.tar.gz"
+SRC_URI[md5sum] = "fbd6faa9c420659023072eb3c74ed037"
+SRC_URI[sha256sum] = "b230cfd5ef5550cebf485950d8b1f4d5cfa7d5f0814aeb7b44e530e9caecb83a"
+
+DEPENDS = "avahi libxml2"
+
+inherit cmake pythonnative
+
+PACKAGES =+ "${PN}-iiod ${PN}-tests ${PN}-python"
+
+RDEPENDS_${PN}-python = "${PN} python-ctypes python-stringold"
+
+FILES_${PN}-iiod = "${sbindir}/iiod"
+FILES_${PN}-tests = "${bindir}"
+FILES_${PN}-python = "${PYTHON_SITEPACKAGES_DIR}"
-- 
1.9.1




More information about the Openembedded-devel mailing list