From 2c2578316d6b3e1ee7940e2a5779f9ad503b0ffd Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Wed, 6 Apr 2016 22:19:30 +0100 Subject: libverto: add new recipe libverto is an event-loop agnostic asynchronous API library. Signed-off-by: Ross Burton --- meta-oe/recipes-support/libverto/libverto_0.2.6.bb | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 meta-oe/recipes-support/libverto/libverto_0.2.6.bb diff --git a/meta-oe/recipes-support/libverto/libverto_0.2.6.bb b/meta-oe/recipes-support/libverto/libverto_0.2.6.bb new file mode 100644 index 0000000000..bec773db8a --- /dev/null +++ b/meta-oe/recipes-support/libverto/libverto_0.2.6.bb @@ -0,0 +1,23 @@ +SUMMARY = "event-loop neutral asynchronous API" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://COPYING;md5=bc8917ab981cfa6161dc29319a4038d9" + +SRC_URI = "https://fedorahosted.org/releases/l/i/libverto/libverto-${PV}.tar.gz" +SRC_URI[md5sum] = "d4e81c21403031089d71eaab07708b89" +SRC_URI[sha256sum] = "17eca6a3855f4884e2e7095e91501767d834b3bf313a6f59a93303f54ac91c9e" + +inherit autotools pkgconfig + +PACKAGES_DYNAMIC += "^libverto-.*" + +EXTRA_OECONF = "--with-pthread" + +PACKAGECONFIG ??= "glib libevent" +PACKAGECONFIG[glib] = "--with-glib=default,--without-glib,glib-2.0" +PACKAGECONFIG[libev] = "--with-libev=default,--without-libev,libev" +PACKAGECONFIG[libevent] = "--with-libevent=default,--without-libevent,libevent" +PACKAGECONFIG[tevent] = "--with-tevent=default,--without-tevent,libtevent" + +python populate_packages_prepend () { + do_split_packages(d, "${libdir}", "^libverto-(.*)\.so\..*$", "libverto-%s", "libverto module for %s", allow_links=True, prepend=True) +} -- cgit 1.2.3-korg