diff options
Diffstat (limited to 'meta-networking/recipes-support/libldb/libldb_1.1.17.bb')
-rw-r--r-- | meta-networking/recipes-support/libldb/libldb_1.1.17.bb | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/meta-networking/recipes-support/libldb/libldb_1.1.17.bb b/meta-networking/recipes-support/libldb/libldb_1.1.17.bb new file mode 100644 index 000000000..44f061ab6 --- /dev/null +++ b/meta-networking/recipes-support/libldb/libldb_1.1.17.bb | |||
@@ -0,0 +1,46 @@ | |||
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 += "libtdb talloc libtevent popt" | ||
7 | RDEPENDS_${PN} += "libtevent popt libtalloc openldap" | ||
8 | RDEPENDS_pyldb += "python libtdb libtalloc" | ||
9 | |||
10 | SRC_URI = "http://samba.org/ftp/ldb/ldb-${PV}.tar.gz \ | ||
11 | file://do-not-import-target-module-while-cross-compile.patch \ | ||
12 | " | ||
13 | |||
14 | LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/LGPL-3.0;md5=bfccfe952269fff2b407dd11f2f3083b \ | ||
15 | file://${COREBASE}/meta/files/common-licenses/LGPL-2.1;md5=1a6d268fd218675ffea8be556788b780 \ | ||
16 | file://${COREBASE}/meta/files/common-licenses/GPL-3.0;md5=c79ff39f19dfec6d293b95dea7b07891" | ||
17 | |||
18 | SRC_URI[md5sum] = "7c2ab4e3f2a4186493aa06eabbc61cc0" | ||
19 | SRC_URI[sha256sum] = "b9a312aad19e9463716d257d8f2529fd7fc1a5ef24f6dcdc0c4a1930d7bdb6e6" | ||
20 | |||
21 | inherit waf-samba | ||
22 | |||
23 | S = "${WORKDIR}/ldb-${PV}" | ||
24 | |||
25 | EXTRA_OECONF += "--disable-rpath \ | ||
26 | --disable-rpath-install \ | ||
27 | --bundled-libraries=NONE \ | ||
28 | --builtin-libraries=replace \ | ||
29 | --with-modulesdir=${libdir}/ldb/modules \ | ||
30 | --with-privatelibdir=${libdir}/ldb \ | ||
31 | --with-libiconv=${STAGING_DIR_HOST}${prefix}\ | ||
32 | " | ||
33 | |||
34 | PACKAGES += "pyldb pyldb-dbg pyldb-dev" | ||
35 | |||
36 | FILES_${PN} += "${libdir}/ldb/*" | ||
37 | FILES_${PN}-dbg += "${libdir}/ldb/.debug/* \ | ||
38 | ${libdir}/ldb/modules/ldb/.debug/*" | ||
39 | |||
40 | FILES_pyldb = "${libdir}/python${PYTHON_BASEVERSION}/site-packages/* \ | ||
41 | ${libdir}/libpyldb-util.so.1 \ | ||
42 | ${libdir}/libpyldb-util.so.1.1.17 \ | ||
43 | " | ||
44 | FILES_pyldb-dbg = "${libdir}/python${PYTHON_BASEVERSION}/site-packages/.debug \ | ||
45 | ${libdir}/.debug/libpyldb-util.so.1.1.17" | ||
46 | FILES_pyldb-dev = "${libdir}/libpyldb-util.so" | ||