Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame^] | 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 libtirpc" |
| 7 | RDEPENDS_python-tevent = "python" |
| 8 | |
| 9 | SRC_URI = "https://samba.org/ftp/tevent/tevent-${PV}.tar.gz \ |
| 10 | file://options-0.9.36.patch \ |
| 11 | file://0001-libtevent-fix-musl-libc-compile-error.patch \ |
| 12 | " |
| 13 | LIC_FILES_CHKSUM = "file://tevent.h;endline=26;md5=4e458d658cb25e21efc16f720e78b85a" |
| 14 | |
| 15 | SRC_URI[md5sum] = "6859cd4081fdb2a76b1cb4bf1c803a59" |
| 16 | SRC_URI[sha256sum] = "168345ed65eac03785cf77b95238e7dc66cbb473a42811693a6b0916e5dae7e0" |
| 17 | |
| 18 | inherit waf-samba |
| 19 | |
| 20 | PACKAGECONFIG ??= "\ |
| 21 | ${@bb.utils.filter('DISTRO_FEATURES', 'acl', d)} \ |
| 22 | ${@bb.utils.contains('DISTRO_FEATURES', 'xattr', 'attr', '', d)} \ |
| 23 | " |
| 24 | PACKAGECONFIG[acl] = "--with-acl,--without-acl,acl" |
| 25 | PACKAGECONFIG[attr] = "--with-attr,--without-attr,attr" |
| 26 | PACKAGECONFIG[libaio] = "--with-libaio,--without-libaio,libaio" |
| 27 | PACKAGECONFIG[libbsd] = "--with-libbsd,--without-libbsd,libbsd" |
| 28 | PACKAGECONFIG[libcap] = "--with-libcap,--without-libcap,libcap" |
| 29 | PACKAGECONFIG[valgrind] = "--with-valgrind,--without-valgrind,valgrind" |
| 30 | |
| 31 | SRC_URI += "${@bb.utils.contains('PACKAGECONFIG', 'attr', '', 'file://avoid-attr-unless-wanted.patch', d)}" |
| 32 | |
| 33 | S = "${WORKDIR}/tevent-${PV}" |
| 34 | |
| 35 | EXTRA_OECONF += "--disable-rpath \ |
| 36 | --bundled-libraries=NONE \ |
| 37 | --builtin-libraries=replace \ |
| 38 | --with-libiconv=${STAGING_DIR_HOST}${prefix}\ |
| 39 | --without-gettext \ |
| 40 | " |
| 41 | |
| 42 | PACKAGES += "python-tevent" |
| 43 | |
| 44 | RPROVIDES_${PN}-dbg += "python-tevent-dbg" |
| 45 | |
| 46 | FILES_python-tevent = "${libdir}/python${PYTHON_BASEVERSION}/site-packages/*" |