diff options
Diffstat (limited to 'packages/dev-db/ldb/ldb-1.4.0.exheres-0')
-rw-r--r-- | packages/dev-db/ldb/ldb-1.4.0.exheres-0 | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/packages/dev-db/ldb/ldb-1.4.0.exheres-0 b/packages/dev-db/ldb/ldb-1.4.0.exheres-0 new file mode 100644 index 0000000..c569360 --- /dev/null +++ b/packages/dev-db/ldb/ldb-1.4.0.exheres-0 @@ -0,0 +1,47 @@ +# Copyright 2011-2012 Pierre Lejeune <superheron@gmail.com> +# Distributed under the terms of the GNU General Public License v2 + +require wafsamba + +SUMMARY="LDAP-like embedded database" +DESCRIPTION=" +ldb is a LDAP-like embedded database. It is not at all LDAP standards compliant, so if you want a +standards compliant database then please see the excellent OpenLDAP project. + +What ldb does is provide a fast database with an LDAP-like API designed to be used within an +application. In some ways it can be seen as a intermediate solution between key-value pair databases +and a real LDAP database. + +ldb is the database engine used in Samba4. +" +HOMEPAGE="https://${PN}.samba.org" +DOWNLOADS="mirror://samba/../${PN}/${PNV}.tar.gz" + +LICENCES="LGPL-3" +SLOT="0" +PLATFORMS="~amd64 ~armv7 ~x86" +MYOPTIONS="" + +DEPENDENCIES=" + build+run: + dev-db/tdb[>=1.3.15] + dev-libs/popt + dev-libs/talloc[>=2.1.11] + dev-libs/tevent[>=0.9.36] + build+test: + dev-util/cmocka[>=1.1.1] + recommendation: + net-directory/openldap [[ description = [ ldb can use OpenLDAP as a backend ] ]] +" + +WAF_SRC_CONFIGURE_PARAMS+=( --with-modulesdir=/usr/$(exhost --target)/lib ) +WAF_SRC_COMPILE_PARAMS+=( -j1 ) + +src_test() { + # https://bugzilla.samba.org/show_bug.cgi?id=9787 + edo ln -s libldb.so bin/default/libldb.so.$(ever major) + edo ln -s libpyldb-util.so bin/default/libpyldb-util.so.$(ever major) + + waf_src_test +} + |