All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-oe][PATCH] libiio: add recipe
@ 2016-11-02  6:10 Andrea Galbusera
  2016-11-02  6:53 ` Martin Jansa
  0 siblings, 1 reply; 2+ messages in thread
From: Andrea Galbusera @ 2016-11-02  6:10 UTC (permalink / raw)
  To: openembedded-devel

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



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [meta-oe][PATCH] libiio: add recipe
  2016-11-02  6:10 [meta-oe][PATCH] libiio: add recipe Andrea Galbusera
@ 2016-11-02  6:53 ` Martin Jansa
  0 siblings, 0 replies; 2+ messages in thread
From: Martin Jansa @ 2016-11-02  6:53 UTC (permalink / raw)
  To: openembedded-devel

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

On Wed, Nov 2, 2016 at 7:10 AM, Andrea Galbusera <gizero@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@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-11-02  6:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-02  6:10 [meta-oe][PATCH] libiio: add recipe Andrea Galbusera
2016-11-02  6:53 ` Martin Jansa

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.