diff options
| author | Wang Mingyu <wangmy@cn.fujitsu.com> | 2020-03-17 00:19:56 -0700 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2020-03-17 19:46:35 -0700 |
| commit | 36d5ae1580a52630fdcf372c6f55a51b4da6535c (patch) | |
| tree | 94b3c4597a21602bbc9916de7faf5b69fc1b54f6 /meta-networking/recipes-support/libtdb/libtdb_1.4.3.bb | |
| parent | 71245876085477834f0dc7ba9c993e7a5961fb25 (diff) | |
| download | meta-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.bb | 56 |
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 @@ | |||
| 1 | SUMMARY = "The tdb library" | ||
| 2 | HOMEPAGE = "http://tdb.samba.org/" | ||
| 3 | SECTION = "libs" | ||
| 4 | LICENSE = "LGPL-3.0+ & GPL-3.0+" | ||
| 5 | |||
| 6 | LIC_FILES_CHKSUM = "file://tools/tdbdump.c;endline=18;md5=b59cd45aa8624578126a8c98f48018c4 \ | ||
| 7 | file://include/tdb.h;endline=27;md5=f5bb544641d3081821bcc1dd58310be6" | ||
| 8 | |||
| 9 | SRC_URI = "https://samba.org/ftp/tdb/tdb-${PV}.tar.gz \ | ||
| 10 | file://tdb-Add-configure-options-for-packages.patch \ | ||
| 11 | " | ||
| 12 | |||
| 13 | SRC_URI[md5sum] = "e638e8890f743624a754304b3f994f4d" | ||
| 14 | SRC_URI[sha256sum] = "c8058393dfa15f47e11ebd2f1d132693f0b3b3b8bf22d0201bfb305026f88a1b" | ||
| 15 | |||
| 16 | PACKAGECONFIG ??= "\ | ||
| 17 | ${@bb.utils.filter('DISTRO_FEATURES', 'acl', d)} \ | ||
| 18 | ${@bb.utils.contains('DISTRO_FEATURES', 'xattr', 'attr', '', d)} \ | ||
| 19 | " | ||
| 20 | |||
| 21 | PACKAGECONFIG[acl] = "--with-acl,--without-acl,acl" | ||
| 22 | PACKAGECONFIG[attr] = "--with-attr,--without-attr,attr" | ||
| 23 | PACKAGECONFIG[libaio] = "--with-libaio,--without-libaio,libaio" | ||
| 24 | PACKAGECONFIG[libbsd] = "--with-libbsd,--without-libbsd,libbsd" | ||
| 25 | PACKAGECONFIG[libcap] = "--with-libcap,--without-libcap,libcap" | ||
| 26 | PACKAGECONFIG[valgrind] = "--with-valgrind,--without-valgrind,valgrind" | ||
| 27 | |||
| 28 | S = "${WORKDIR}/tdb-${PV}" | ||
| 29 | |||
| 30 | inherit waf-samba | ||
| 31 | |||
| 32 | #cross_compile cannot use preforked process, since fork process earlier than point subproces.popen | ||
| 33 | #to cross Popen | ||
| 34 | export WAF_NO_PREFORK="yes" | ||
| 35 | |||
| 36 | EXTRA_OECONF += "--disable-rpath \ | ||
| 37 | --bundled-libraries=NONE \ | ||
| 38 | --builtin-libraries=replace \ | ||
| 39 | --with-libiconv=${STAGING_DIR_HOST}${prefix}\ | ||
| 40 | " | ||
| 41 | |||
| 42 | do_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 | |||
| 48 | PACKAGES += "tdb-tools python3-tdb" | ||
| 49 | |||
| 50 | RPROVIDES_${PN}-dbg += "python3-tdb-dbg" | ||
| 51 | |||
| 52 | FILES_${PN} = "${libdir}/*.so.*" | ||
| 53 | FILES_tdb-tools = "${bindir}/*" | ||
| 54 | FILES_python3-tdb = "${libdir}/python${PYTHON_BASEVERSION}/site-packages/*" | ||
| 55 | RDEPENDS_python3-tdb = "python3" | ||
| 56 | INSANE_SKIP_${MLPREFIX}python3-tdb = "dev-so" | ||
