diff options
author | Joe MacDonald <joe_macdonald@mentor.com> | 2016-04-18 17:00:52 -0400 |
---|---|---|
committer | Joe MacDonald <joe_macdonald@mentor.com> | 2016-04-29 11:57:47 -0400 |
commit | b325ceaf4e08a47dbad413f573796cfa4f95a164 (patch) | |
tree | 8d82c498a4de6c2bbddc2f4f573a98255406ad0f /meta-networking/recipes-support/libldb/libldb_1.1.26.bb | |
parent | 825cf152ccd7ba3ab4f6f41d16cf116c72de7033 (diff) | |
download | meta-openembedded-b325ceaf4e08a47dbad413f573796cfa4f95a164.tar.gz |
libldb: Update to latest stable
The update of Samba requires a newer version of libldb, so update it.
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
Diffstat (limited to 'meta-networking/recipes-support/libldb/libldb_1.1.26.bb')
-rw-r--r-- | meta-networking/recipes-support/libldb/libldb_1.1.26.bb | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/meta-networking/recipes-support/libldb/libldb_1.1.26.bb b/meta-networking/recipes-support/libldb/libldb_1.1.26.bb new file mode 100644 index 000000000..5458d4728 --- /dev/null +++ b/meta-networking/recipes-support/libldb/libldb_1.1.26.bb | |||
@@ -0,0 +1,49 @@ | |||
1 | SUMMARY = "Hierarchical, reference counted memory pool system with destructors" | ||
2 | HOMEPAGE = "http://ldb.samba.org" | ||
3 | SECTION = "libs" | ||
4 | LICENSE = "LGPL-3.0+ & LGPL-2.1+ & GPL-3.0+" | ||
5 | |||
6 | DEPENDS += "libbsd libtdb libtalloc libtevent popt" | ||
7 | RDEPENDS_pyldb += "python" | ||
8 | |||
9 | SRC_URI = "http://samba.org/ftp/ldb/ldb-${PV}.tar.gz \ | ||
10 | file://do-not-import-target-module-while-cross-compile.patch \ | ||
11 | " | ||
12 | |||
13 | PACKAGECONFIG[ldap] = ",,openldap" | ||
14 | SRC_URI += "${@bb.utils.contains('PACKAGECONFIG', 'ldap', '', 'file://avoid-openldap-unless-wanted.patch', d)}" | ||
15 | |||
16 | LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/LGPL-3.0;md5=bfccfe952269fff2b407dd11f2f3083b \ | ||
17 | file://${COREBASE}/meta/files/common-licenses/LGPL-2.1;md5=1a6d268fd218675ffea8be556788b780 \ | ||
18 | file://${COREBASE}/meta/files/common-licenses/GPL-3.0;md5=c79ff39f19dfec6d293b95dea7b07891" | ||
19 | |||
20 | SRC_URI[md5sum] = "31780b702b638ad32aa5d9853d257839" | ||
21 | SRC_URI[sha256sum] = "8843c7a72b980d9413ba6c494c039bccd10c524b37fda2917afb147745d8b2e6" | ||
22 | |||
23 | inherit waf-samba | ||
24 | |||
25 | S = "${WORKDIR}/ldb-${PV}" | ||
26 | |||
27 | EXTRA_OECONF += "--disable-rpath \ | ||
28 | --disable-rpath-install \ | ||
29 | --bundled-libraries=NONE \ | ||
30 | --builtin-libraries=replace \ | ||
31 | --with-modulesdir=${libdir}/ldb/modules \ | ||
32 | --with-privatelibdir=${libdir}/ldb \ | ||
33 | --with-libiconv=${STAGING_DIR_HOST}${prefix}\ | ||
34 | " | ||
35 | DISABLE_STATIC = "" | ||
36 | |||
37 | PACKAGES += "pyldb pyldb-dbg pyldb-dev" | ||
38 | |||
39 | FILES_${PN} += "${libdir}/ldb/*" | ||
40 | FILES_${PN}-dbg += "${libdir}/ldb/.debug/* \ | ||
41 | ${libdir}/ldb/modules/ldb/.debug/*" | ||
42 | |||
43 | FILES_pyldb = "${libdir}/python${PYTHON_BASEVERSION}/site-packages/* \ | ||
44 | ${libdir}/libpyldb-util.so.1 \ | ||
45 | ${libdir}/libpyldb-util.so.1.1.17 \ | ||
46 | " | ||
47 | FILES_pyldb-dbg = "${libdir}/python${PYTHON_BASEVERSION}/site-packages/.debug \ | ||
48 | ${libdir}/.debug/libpyldb-util.so.1.1.17" | ||
49 | FILES_pyldb-dev = "${libdir}/libpyldb-util.so" | ||