From ae6c2240c2ed8341a4c03d53ae894f581208196b Mon Sep 17 00:00:00 2001 From: Bartosz Golaszewski Date: Mon, 26 Nov 2018 08:35:18 +0100 Subject: libsigrok: new package Signed-off-by: Bartosz Golaszewski Signed-off-by: Khem Raj --- meta-oe/recipes-extended/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 (limited to 'meta-oe/recipes-extended') 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 0000000000..8152ca7ca3 --- /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} += "${datadir}/*" -- cgit 1.2.3-korg