Skip to contentSkip to conversation

libiio: add recipe

PATCH Superseded Andrea Galbusera 2 participants 2 messages Nov 2, 2016

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libiio: add recipe

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
meta-oe/recipes-support/libiio/libiio_2015.2-r1.bb new file +21 -0
new file mode 100644
index 0000000..8c062b6
@@ -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}"
Signature · 1 line
1.9.1
#1 lore raw

Don't use github archives which are regenerated from time to time.

Quoted 56 lines · Andrea Galbusera

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
meta-oe/recipes-support/libiio/libiio_2015.2-r1.bb new file +2 -0
new file mode 100644
index 0000000..8c062b6
@@ -0,0 +1,21 @@
+SUMMARY = "Library for interfacing with IIO devices"
+HOMEPAGE = "https://wiki.analog.com/resources/tools-software/

linux-software/libiio"

meta-oe/recipes-support/libiio/libiio_2015.2-r1.bb new file +3 -0
+SECTION = "libs"
+LICENSE = "LGPLv2.1+"
+LIC_FILES_CHKSUM = "file://COPYING.txt;md5=7c13b3376cea0ce68d2d2da0a1b3a7

2c"

meta-oe/recipes-support/libiio/libiio_2015.2-r1.bb new file +2 -0
+
+SRC_URI = "https://github.com/analogdevicesinc/${PN}/archive/${PV}.tar.gz

"

meta-oe/recipes-support/libiio/libiio_2015.2-r1.bb new file +2 -0
+SRC_URI[md5sum] = "fbd6faa9c420659023072eb3c74ed037"
+SRC_URI[sha256sum] = "b230cfd5ef5550cebf485950d8b1f4

d5cfa7d5f0814aeb7b44e530e9caecb83a"

meta-oe/recipes-support/libiio/libiio_2015.2-r1.bb new file +12 -1
+
+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

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel