26 |
SRC_URI=( |
SRC_URI=( |
27 |
ftp://ftp.cyrusimap.org/${PNAME}/${SRCFILE} |
ftp://ftp.cyrusimap.org/${PNAME}/${SRCFILE} |
28 |
mirror://${PNAME}/${SRCFILE} |
mirror://${PNAME}/${SRCFILE} |
29 |
|
mirror://${PNAME}/${PNAME}-2.1.25-no_rpath.patch || die |
30 |
) |
) |
31 |
|
|
32 |
UP2DATE="updatecmd ftp://ftp.cyrusimap.org/${PNAME}/ | grep ${PNAME}- | grep -v rc | lasttarball gz" |
UP2DATE="updatecmd ftp://ftp.cyrusimap.org/${PNAME}/ | grep ${PNAME}- | grep -v rc | highesttarball gz" |
33 |
|
|
34 |
src_prepare() |
src_prepare() |
35 |
{ |
{ |
36 |
munpack ${SRCFILE} |
munpack ${SRCFILE} |
37 |
cd ${SRCDIR} |
cd ${SRCDIR} |
38 |
|
|
39 |
# use newer macro names |
# no rpath |
40 |
sed -i 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:' configure.in || die |
mpatch ${PNAME}-2.1.25-no_rpath.patch || die |
|
sed -i 's:AC_CONFIG_MACRO_DIR:AC_CONFIG_MACRO_DIRS:g' configure.in saslauthd/configure.in || die |
|
41 |
|
|
42 |
# upstream doesn't even honor their own configure options... |
# upstream doesn't even honor their own configure options... |
43 |
sed -i 's:^sasldir = .*$:sasldir = $(plugindir):' ${SRCDIR}/plugins/Makefile.{am,in} || die |
sed -i 's:^sasldir = .*$:sasldir = $(plugindir):' ${SRCDIR}/plugins/Makefile.{am,in} || die |
51 |
mlibtoolize || die |
mlibtoolize || die |
52 |
popd |
popd |
53 |
# use full pathes or automake fails in subdirs |
# use full pathes or automake fails in subdirs |
54 |
mautoreconf -I $(pwd)/cmulocal -I config || die |
mautoreconf -I config || die |
55 |
} |
} |
56 |
|
|
57 |
src_compile() |
src_compile() |