Magellan Linux

Contents of /trunk/extras/ldb/ldb-1.4.3-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 31768 - (show annotations) (download)
Fri Dec 7 09:31:07 2018 UTC (5 years, 4 months ago) by niro
File size: 855 byte(s)
auto added: ver bump to 1.4.3-r1
1 # $Id$
2
3 PNAME="ldb"
4 PVER="1.4.3"
5 PBUILD="r1"
6
7 PCAT="dev-db"
8
9 DESCRIPTION="A schema-less, ldap like, API and database."
10 HOMEPAGE="http://ldb.samba.org/"
11
12 DEPEND=">= dev-libs/popt-1.16
13 >= dev-libs/talloc-2.1
14 >= dev-libs/tevent-0.9
15 >= dev-db/tdb-1.3
16 >= dev-db/lmdb-0.9"
17
18 SDEPEND=">= dev-lang/python-2.7"
19
20 SRCFILE="${PNAME}-${PVER}.tar.gz"
21 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
22
23 sminclude multilib mbuild
24
25 SRC_URI=(
26 http://www.samba.org/ftp/${PNAME}/${SRCFILE}
27 mirror://${PNAME}/${SRCFILE}
28 )
29
30 UP2DATE="updatecmd http://www.samba.org/ftp/${PNAME}/ | grep '/${PNAME}-' | highesttarball gz"
31
32 src_compile()
33 {
34 mconfigure \
35 --disable-rpath \
36 --disable-rpath-install \
37 --bundled-libraries=NONE \
38 --builtin-libraries=replace \
39 --with-modulesdir=/usr/'$(mlibdir)'/ldb/modules \
40 --with-privatelibdir=/usr/'$(mlibdir)'/ldb \
41 || die
42
43 mmake || die
44 }