Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [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 | " |
| 12 | LIC_FILES_CHKSUM = "file://tevent.h;endline=26;md5=4e458d658cb25e21efc16f720e78b85a" |
| 13 | |
| 14 | SRC_URI[md5sum] = "87d67bca75b231814435c47bec0aff8a" |
| 15 | SRC_URI[sha256sum] = "bd2b6be3fd1601ed7f176e99111e322c57d58e425cc149ee80c7dd4fed263b4c" |
| 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" |