20 |
>= x11-libs/libXpm-3 |
>= x11-libs/libXpm-3 |
21 |
>= sys-libs/zlib-1.2.5" |
>= sys-libs/zlib-1.2.5" |
22 |
|
|
23 |
SRCFILE="${PNAME}-${PVER}.tar.bz2" |
SRCFILE="lib${PNAME}-${PVER}.tar.xz" |
24 |
SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
SRCDIR="${BUILDDIR}/lib${PNAME}-${PVER}" |
25 |
|
|
26 |
sminclude mbuild |
sminclude mbuild |
27 |
|
|
28 |
SRC_URI=( |
SRC_URI=( |
29 |
http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/distfiles/${SRCFILE} |
https://bitbucket.org/libgd/gd-libgd/downloads/${SRCFILE} |
|
http://www.libgd.org/releases/${SRCFILE} |
|
30 |
mirror://${PNAME}/${SRCFILE} |
mirror://${PNAME}/${SRCFILE} |
31 |
) |
) |
32 |
|
|
|
#UP2DATE="updatecmd ${HOMEPAGE}/releases | grep -v RC | grep -v latest | lasttarball" |
|
33 |
UP2DATE="updatecmd https://bitbucket.org/libgd/gd-libgd/downloads | highesttarball xz" |
UP2DATE="updatecmd https://bitbucket.org/libgd/gd-libgd/downloads | highesttarball xz" |
34 |
|
|
|
src_prepare() |
|
|
{ |
|
|
munpack ${SRCFILE} || die |
|
|
cd ${SRCDIR} |
|
|
|
|
|
# fixes libtool2 issues |
|
|
# ./libtool: line 841: X--tag=CC: command not found |
|
|
mautoreconf || die |
|
|
} |
|
|
|
|
35 |
src_compile() |
src_compile() |
36 |
{ |
{ |
37 |
cd ${SRCDIR} |
cd ${SRCDIR} |