summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-support/libtdb/libtdb_1.4.3.bb
diff options
context:
space:
mode:
authorWang Mingyu <wangmy@cn.fujitsu.com>2020-03-17 00:19:56 -0700
committerKhem Raj <raj.khem@gmail.com>2020-03-17 19:46:35 -0700
commit36d5ae1580a52630fdcf372c6f55a51b4da6535c (patch)
tree94b3c4597a21602bbc9916de7faf5b69fc1b54f6 /meta-networking/recipes-support/libtdb/libtdb_1.4.3.bb
parent71245876085477834f0dc7ba9c993e7a5961fb25 (diff)
downloadmeta-openembedded-36d5ae1580a52630fdcf372c6f55a51b4da6535c.tar.gz
libtdb: upgrade 1.4.2 -> 1.4.3
0001-waf-add-support-of-cross_compile.patch removed since it's not available for 1.4.3 refresh tdb-Add-configure-options-for-packages.patch Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-networking/recipes-support/libtdb/libtdb_1.4.3.bb')
-rw-r--r--meta-networking/recipes-support/libtdb/libtdb_1.4.3.bb56
1 files changed, 56 insertions, 0 deletions
diff --git a/meta-networking/recipes-support/libtdb/libtdb_1.4.3.bb b/meta-networking/recipes-support/libtdb/libtdb_1.4.3.bb
new file mode 100644
index 0000000000..c131014ff4
--- /dev/null
+++ b/meta-networking/recipes-support/libtdb/libtdb_1.4.3.bb
@@ -0,0 +1,56 @@
1SUMMARY = "The tdb library"
2HOMEPAGE = "http://tdb.samba.org/"
3SECTION = "libs"
4LICENSE = "LGPL-3.0+ & GPL-3.0+"
5
6LIC_FILES_CHKSUM = "file://tools/tdbdump.c;endline=18;md5=b59cd45aa8624578126a8c98f48018c4 \
7 file://include/tdb.h;endline=27;md5=f5bb544641d3081821bcc1dd58310be6"
8
9SRC_URI = "https://samba.org/ftp/tdb/tdb-${PV}.tar.gz \
10 file://tdb-Add-configure-options-for-packages.patch \
11"
12
13SRC_URI[md5sum] = "e638e8890f743624a754304b3f994f4d"
14SRC_URI[sha256sum] = "c8058393dfa15f47e11ebd2f1d132693f0b3b3b8bf22d0201bfb305026f88a1b"
15
16PACKAGECONFIG ??= "\
17 ${@bb.utils.filter('DISTRO_FEATURES', 'acl', d)} \
18 ${@bb.utils.contains('DISTRO_FEATURES', 'xattr', 'attr', '', d)} \
19"
20
21PACKAGECONFIG[acl] = "--with-acl,--without-acl,acl"
22PACKAGECONFIG[attr] = "--with-attr,--without-attr,attr"
23PACKAGECONFIG[libaio] = "--with-libaio,--without-libaio,libaio"
24PACKAGECONFIG[libbsd] = "--with-libbsd,--without-libbsd,libbsd"
25PACKAGECONFIG[libcap] = "--with-libcap,--without-libcap,libcap"
26PACKAGECONFIG[valgrind] = "--with-valgrind,--without-valgrind,valgrind"
27
28S = "${WORKDIR}/tdb-${PV}"
29
30inherit waf-samba
31
32#cross_compile cannot use preforked process, since fork process earlier than point subproces.popen
33#to cross Popen
34export WAF_NO_PREFORK="yes"
35
36EXTRA_OECONF += "--disable-rpath \
37 --bundled-libraries=NONE \
38 --builtin-libraries=replace \
39 --with-libiconv=${STAGING_DIR_HOST}${prefix}\
40 "
41
42do_install_append() {
43 # add this link for cross check python module existence. eg: on x86-64 host, check python module
44 # under recipe-sysroot which is mips64.
45 cd ${D}${PYTHON_SITEPACKAGES_DIR}; ln -s tdb.*.so tdb.so
46}
47
48PACKAGES += "tdb-tools python3-tdb"
49
50RPROVIDES_${PN}-dbg += "python3-tdb-dbg"
51
52FILES_${PN} = "${libdir}/*.so.*"
53FILES_tdb-tools = "${bindir}/*"
54FILES_python3-tdb = "${libdir}/python${PYTHON_BASEVERSION}/site-packages/*"
55RDEPENDS_python3-tdb = "python3"
56INSANE_SKIP_${MLPREFIX}python3-tdb = "dev-so"