# $Id$ PNAME="ldb" PVER="1.4.3" PBUILD="r1" PCAT="dev-db" DESCRIPTION="A schema-less, ldap like, API and database." HOMEPAGE="http://ldb.samba.org/" DEPEND=">= dev-libs/popt-1.16 >= dev-libs/talloc-2.1 >= dev-libs/tevent-0.9 >= dev-db/tdb-1.3 >= dev-db/lmdb-0.9" SDEPEND=">= dev-lang/python-2.7 >= dev-util/cmocka-1.1 >= app-text/docbook-xsl-stylesheets-1.76" SRCFILE="${PNAME}-${PVER}.tar.gz" SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" sminclude multilib mbuild SRC_URI=( http://www.samba.org/ftp/${PNAME}/${SRCFILE} mirror://${PNAME}/${SRCFILE} ) UP2DATE="updatecmd http://www.samba.org/ftp/${PNAME}/ | grep '/${PNAME}-' | highesttarball gz" src_compile() { mconfigure \ --disable-rpath \ --disable-rpath-install \ --bundled-libraries=NONE \ --builtin-libraries=replace \ --with-modulesdir=/usr/'$(mlibdir)'/ldb/modules \ --with-privatelibdir=/usr/'$(mlibdir)'/ldb \ || die mmake || die }