diff options
Diffstat (limited to 'meta-networking/recipes-support/libldb/libldb_1.1.21.bb')
-rw-r--r-- | meta-networking/recipes-support/libldb/libldb_1.1.21.bb | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/meta-networking/recipes-support/libldb/libldb_1.1.21.bb b/meta-networking/recipes-support/libldb/libldb_1.1.21.bb new file mode 100644 index 000000000..e9659d5fb --- /dev/null +++ b/meta-networking/recipes-support/libldb/libldb_1.1.21.bb | |||
@@ -0,0 +1,48 @@ | |||
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] = "94ba09c7452fff68df3481686c56677e" | ||
21 | SRC_URI[sha256sum] = "267bbb7f278068eaf0de27adffda2e691a070a93c5c15ee27c828e87b4c7dbf1" | ||
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 | |||
36 | PACKAGES += "pyldb pyldb-dbg pyldb-dev" | ||
37 | |||
38 | FILES_${PN} += "${libdir}/ldb/*" | ||
39 | FILES_${PN}-dbg += "${libdir}/ldb/.debug/* \ | ||
40 | ${libdir}/ldb/modules/ldb/.debug/*" | ||
41 | |||
42 | FILES_pyldb = "${libdir}/python${PYTHON_BASEVERSION}/site-packages/* \ | ||
43 | ${libdir}/libpyldb-util.so.1 \ | ||
44 | ${libdir}/libpyldb-util.so.1.1.17 \ | ||
45 | " | ||
46 | FILES_pyldb-dbg = "${libdir}/python${PYTHON_BASEVERSION}/site-packages/.debug \ | ||
47 | ${libdir}/.debug/libpyldb-util.so.1.1.17" | ||
48 | FILES_pyldb-dev = "${libdir}/libpyldb-util.so" | ||