mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-15 16:07:26 +00:00
68c66db375
* Refresh patches
* Add a patch to skip checking PYTHONHASHSEED
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit cf53340f00)
Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
54 lines
1.9 KiB
BlitzBasic
54 lines
1.9 KiB
BlitzBasic
SUMMARY = "The tdb library"
|
|
HOMEPAGE = "https://tdb.samba.org/"
|
|
SECTION = "libs"
|
|
LICENSE = "LGPL-3.0-or-later & GPL-3.0-or-later"
|
|
|
|
LIC_FILES_CHKSUM = "file://tools/tdbdump.c;endline=18;md5=b59cd45aa8624578126a8c98f48018c4 \
|
|
file://include/tdb.h;endline=27;md5=f5bb544641d3081821bcc1dd58310be6"
|
|
|
|
SRC_URI = "https://samba.org/ftp/tdb/tdb-${PV}.tar.gz \
|
|
file://0001-tdb-Add-configure-options-for-packages.patch \
|
|
file://0002-Fix-pyext_PATTERN-for-cross-compilation.patch \
|
|
file://0003-wscript-skip-checking-PYTHONHASHSEED.patch \
|
|
"
|
|
|
|
SRC_URI[md5sum] = "bc27d5b20c7f013305c40b3bced43b3a"
|
|
SRC_URI[sha256sum] = "a4fb168def533f31ff2c07f7d9844bb3131e6799f094ebe77d0380adc987c20e"
|
|
|
|
PACKAGECONFIG ??= "\
|
|
${@bb.utils.filter('DISTRO_FEATURES', '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"
|
|
|
|
S = "${WORKDIR}/tdb-${PV}"
|
|
|
|
inherit waf-samba
|
|
|
|
#cross_compile cannot use preforked process, since fork process earlier than point subproces.popen
|
|
#to cross Popen
|
|
export WAF_NO_PREFORK="yes"
|
|
|
|
EXTRA_OECONF += "--disable-rpath \
|
|
--disable-rpath-install \
|
|
--bundled-libraries=NONE \
|
|
--builtin-libraries=replace \
|
|
--with-libiconv=${STAGING_DIR_HOST}${prefix}\
|
|
"
|
|
|
|
PACKAGES += "tdb-tools python3-tdb"
|
|
|
|
RPROVIDES:${PN}-dbg += "python3-tdb-dbg"
|
|
|
|
FILES:${PN} = "${libdir}/*.so.*"
|
|
FILES:tdb-tools = "${bindir}/*"
|
|
FILES:python3-tdb = "${libdir}/python${PYTHON_BASEVERSION}/site-packages/*"
|
|
RDEPENDS:python3-tdb = "python3"
|
|
INSANE_SKIP:${MLPREFIX}python3-tdb = "dev-so"
|