mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-15 16:07:26 +00:00
86610438b5
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
(cherry picked from commit 3a3e443864)
Signed-off-by: Chai, Chong Yi <chong.yi.chai@intel.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
46 lines
1.7 KiB
BlitzBasic
46 lines
1.7 KiB
BlitzBasic
SUMMARY = "Hierarchical, reference counted memory pool system with destructors"
|
|
HOMEPAGE = "http://tevent.samba.org"
|
|
SECTION = "libs"
|
|
LICENSE = "LGPLv3+"
|
|
|
|
DEPENDS += "libtalloc"
|
|
RDEPENDS_python-tevent = "python"
|
|
|
|
SRC_URI = "https://samba.org/ftp/tevent/tevent-${PV}.tar.gz \
|
|
file://tevent-Add-configure-options-for-packages.patch \
|
|
"
|
|
LIC_FILES_CHKSUM = "file://tevent.h;endline=26;md5=4e458d658cb25e21efc16f720e78b85a"
|
|
|
|
SRC_URI[md5sum] = "4372c1430a1ecb7ea0adddfdf21c0d55"
|
|
SRC_URI[sha256sum] = "a4f519b0bbb718fe2175bee9011ee4d199675f28c2ef80531be38e7bbaa1c42b"
|
|
|
|
inherit waf-samba
|
|
|
|
PACKAGECONFIG ??= "\
|
|
${@bb.utils.contains('DISTRO_FEATURES', 'acl', 'acl', '', d)} \
|
|
${@bb.utils.contains('DISTRO_FEATURES', 'xattr', 'attr', '', d)} \
|
|
"
|
|
PACKAGECONFIG[acl] = "--with-acl,--without-acl,acl"
|
|
PACKAGECONFIG[attr] = "--with-attr,--without-attr,attr"
|
|
PACKAGECONFIG[libaio] = "--with-libaio,--without-libaio,libaio"
|
|
PACKAGECONFIG[libbsd] = "--with-libbsd,--without-libbsd,libbsd"
|
|
PACKAGECONFIG[libcap] = "--with-libcap,--without-libcap,libcap"
|
|
PACKAGECONFIG[valgrind] = "--with-valgrind,--without-valgrind,valgrind"
|
|
|
|
SRC_URI += "${@bb.utils.contains('PACKAGECONFIG', 'attr', '', 'file://avoid-attr-unless-wanted.patch', d)}"
|
|
|
|
S = "${WORKDIR}/tevent-${PV}"
|
|
|
|
EXTRA_OECONF += "--disable-rpath \
|
|
--bundled-libraries=NONE \
|
|
--builtin-libraries=replace \
|
|
--with-libiconv=${STAGING_DIR_HOST}${prefix}\
|
|
--without-gettext \
|
|
"
|
|
DISABLE_STATIC = ""
|
|
|
|
PACKAGES += "python-tevent python-tevent-dbg"
|
|
|
|
FILES_python-tevent = "${libdir}/python${PYTHON_BASEVERSION}/site-packages/*"
|
|
FILES_python-tevent-dbg = "${libdir}/python${PYTHON_BASEVERSION}/site-packages/.debug"
|