[oe] [meta-oe][PATCH 4/6] libsigrok: new package

Khem Raj raj.khem at gmail.com
Sat Nov 24 06:22:46 UTC 2018


On Fri, Nov 23, 2018 at 7:39 AM Bartosz Golaszewski <brgl at bgdev.pl> wrote:
>
> Signed-off-by: Bartosz Golaszewski <brgl at bgdev.pl>
> ---
>  .../sigrok/libsigrok_0.5.1.bb                 | 23 +++++++++++++++++++
>  1 file changed, 23 insertions(+)
>  create mode 100644 meta-oe/recipes-extended/sigrok/libsigrok_0.5.1.bb
>
> diff --git a/meta-oe/recipes-extended/sigrok/libsigrok_0.5.1.bb b/meta-oe/recipes-extended/sigrok/libsigrok_0.5.1.bb
> new file mode 100644
> index 000000000..b60c64c3b
> --- /dev/null
> +++ b/meta-oe/recipes-extended/sigrok/libsigrok_0.5.1.bb
> @@ -0,0 +1,23 @@
> +DESCRIPTION = "libsigrok is a shared library written in C, which provides the basic hardware access drivers for logic analyzers and other supported devices, as well as input/output file format support."
> +HOMEPAGE = "http://sigrok.org/wiki/Main_Page"
> +
> +LICENSE = "GPLv3"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
> +
> +DEPENDS = "glib-2.0 libzip"
> +
> +PACKAGECONFIG[serialport] = "--with-libserialport,--without-libserialport,libserialport"
> +PACKAGECONFIG[ftdi] = "--with-libftdi,--without-libftdi,libftdi"
> +PACKAGECONFIG[usb] = "--with-libusb,--without-libusb,libusb"
> +PACKAGECONFIG[cxx] = "--enable-cxx,--disable-cxx,glibmm doxygen-native"
> +
> +PACKAGECONFIG ??= "serialport ftdi usb"
> +
> +inherit autotools pkgconfig
> +
> +SRC_URI = "http://sigrok.org/download/source/libsigrok/libsigrok-${PV}.tar.gz"
> +
> +SRC_URI[md5sum] = "a3de9e52a660e51d27a6aca025d204a7"
> +SRC_URI[sha256sum] = "e40fde7af98d29e922e9d3cbe0a6c0569889153fc31e47b8b1afe4d846292b9c"
> +
> +FILES_${PN} += "/usr/share/*"

may be use ${datadir} here

> --
> 2.19.1
>


More information about the Openembedded-devel mailing list