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

Martin Jansa martin.jansa at gmail.com
Wed Nov 2 06:53:14 UTC 2016


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

On Wed, Nov 2, 2016 at 7:10 AM, Andrea Galbusera <gizero at gmail.com> wrote:

> 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=7c13b3376cea0ce68d2d2da0a1b3a7
> 2c"
> +
> +SRC_URI = "https://github.com/analogdevicesinc/${PN}/archive/${PV}.tar.gz
> "
> +SRC_URI[md5sum] = "fbd6faa9c420659023072eb3c74ed037"
> +SRC_URI[sha256sum] = "b230cfd5ef5550cebf485950d8b1f4
> d5cfa7d5f0814aeb7b44e530e9caecb83a"
> +
> +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
> Openembedded-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>



More information about the Openembedded-devel mailing list