23 |
SRC_URI=( |
SRC_URI=( |
24 |
http://www.openldap.org/software/download/OpenLDAP/openldap-release/${SRCFILE} |
http://www.openldap.org/software/download/OpenLDAP/openldap-release/${SRCFILE} |
25 |
mirror://${PNAME}/${SRCFILE} |
mirror://${PNAME}/${SRCFILE} |
26 |
|
mirror://${PNAME}/${PNAME}-${PVER}-db5.patch |
27 |
) |
) |
28 |
|
|
29 |
UP2DATE="updatecmd http://www.openldap.org/software/download/ | grep 'currently avail' | sed 's/.*OpenLDAP-\(.*\)\ is.*/\1/'" |
UP2DATE="updatecmd http://www.openldap.org/software/download/ | grep 'currently avail' | sed 's/.*OpenLDAP-\(.*\)\ is.*/\1/'" |
30 |
|
|
31 |
|
src_prepare() |
32 |
|
{ |
33 |
|
munpack ${SRCFILE} || die |
34 |
|
cd ${SRCDIR} |
35 |
|
|
36 |
|
# adds db-5.0 support |
37 |
|
mpatch ${PNAME}-${PVER}-db5.patch || die |
38 |
|
# non standard, autoreconf doesn't work |
39 |
|
mlibtoolize || di |
40 |
|
aclocal || die |
41 |
|
autoconf --force || die |
42 |
|
} |
43 |
|
|
44 |
src_compile() |
src_compile() |
45 |
{ |
{ |
46 |
cd ${SRCDIR} |
cd ${SRCDIR} |