diff options
Diffstat (limited to 'meta-networking/recipes-support/libtevent/libtevent_0.9.33.bb')
| -rw-r--r-- | meta-networking/recipes-support/libtevent/libtevent_0.9.33.bb | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/meta-networking/recipes-support/libtevent/libtevent_0.9.33.bb b/meta-networking/recipes-support/libtevent/libtevent_0.9.33.bb new file mode 100644 index 0000000000..f508300692 --- /dev/null +++ b/meta-networking/recipes-support/libtevent/libtevent_0.9.33.bb | |||
| @@ -0,0 +1,44 @@ | |||
| 1 | SUMMARY = "Hierarchical, reference counted memory pool system with destructors" | ||
| 2 | HOMEPAGE = "http://tevent.samba.org" | ||
| 3 | SECTION = "libs" | ||
| 4 | LICENSE = "LGPLv3+" | ||
| 5 | |||
| 6 | DEPENDS += "libtalloc" | ||
| 7 | RDEPENDS_python-tevent = "python" | ||
| 8 | |||
| 9 | SRC_URI = "https://samba.org/ftp/tevent/tevent-${PV}.tar.gz \ | ||
| 10 | file://options-0.9.33.patch \ | ||
| 11 | " | ||
| 12 | LIC_FILES_CHKSUM = "file://tevent.h;endline=26;md5=4e458d658cb25e21efc16f720e78b85a" | ||
| 13 | |||
| 14 | SRC_URI[md5sum] = "527a43f35b4251e46f28921342895223" | ||
| 15 | SRC_URI[sha256sum] = "22712ee981fd4298fcd5f3afb27d87a72257cebad37812cfbd3da5d968ed1bdc" | ||
| 16 | |||
| 17 | inherit waf-samba | ||
| 18 | |||
| 19 | PACKAGECONFIG ??= "\ | ||
| 20 | ${@bb.utils.filter('DISTRO_FEATURES', 'acl', d)} \ | ||
| 21 | ${@bb.utils.contains('DISTRO_FEATURES', 'xattr', 'attr', '', d)} \ | ||
| 22 | " | ||
| 23 | PACKAGECONFIG[acl] = "--with-acl,--without-acl,acl" | ||
| 24 | PACKAGECONFIG[attr] = "--with-attr,--without-attr,attr" | ||
| 25 | PACKAGECONFIG[libaio] = "--with-libaio,--without-libaio,libaio" | ||
| 26 | PACKAGECONFIG[libbsd] = "--with-libbsd,--without-libbsd,libbsd" | ||
| 27 | PACKAGECONFIG[libcap] = "--with-libcap,--without-libcap,libcap" | ||
| 28 | PACKAGECONFIG[valgrind] = "--with-valgrind,--without-valgrind,valgrind" | ||
| 29 | |||
| 30 | SRC_URI += "${@bb.utils.contains('PACKAGECONFIG', 'attr', '', 'file://avoid-attr-unless-wanted.patch', d)}" | ||
| 31 | |||
| 32 | S = "${WORKDIR}/tevent-${PV}" | ||
| 33 | |||
| 34 | EXTRA_OECONF += "--disable-rpath \ | ||
| 35 | --bundled-libraries=NONE \ | ||
| 36 | --builtin-libraries=replace \ | ||
| 37 | --with-libiconv=${STAGING_DIR_HOST}${prefix}\ | ||
| 38 | --without-gettext \ | ||
| 39 | " | ||
| 40 | |||
| 41 | PACKAGES += "python-tevent python-tevent-dbg" | ||
| 42 | |||
| 43 | FILES_python-tevent = "${libdir}/python${PYTHON_BASEVERSION}/site-packages/*" | ||
| 44 | FILES_python-tevent-dbg = "${libdir}/python${PYTHON_BASEVERSION}/site-packages/.debug" | ||
