Contents of /trunk/extras/gd/gd-2.1.0-r1.smage2
Parent Directory | Revision Log
Revision 21115 -
(show annotations)
(download)
Tue Mar 11 14:19:36 2014 UTC (10 years, 6 months ago) by niro
File size: 1177 byte(s)
Tue Mar 11 14:19:36 2014 UTC (10 years, 6 months ago) by niro
File size: 1177 byte(s)
auto added: ver bump to 2.1.0-r1
1 | # $Id$ |
2 | |
3 | PNAME="gd" |
4 | PVER="2.1.0" |
5 | PBUILD="r1" |
6 | |
7 | PCAT="media-libs" |
8 | |
9 | DESCRIPTION="GD is an open source code library for the dynamic creation of images by programmers." |
10 | HOMEPAGE="http://www.libgd.org/" |
11 | |
12 | DEPEND=">= media-libs/libjpeg-8 |
13 | >= media-libs/libpng-1.5 |
14 | >= media-libs/freetype-2.4 |
15 | >= media-libs/fontconfig-2.8 |
16 | >= x11-libs/libX11-1.3 |
17 | >= x11-libs/libXau-1 |
18 | >= x11-libs/libxcb-1.7 |
19 | >= x11-libs/libXdmcp-1 |
20 | >= x11-libs/libXpm-3 |
21 | >= sys-libs/zlib-1.2.5" |
22 | |
23 | SRCFILE="${PNAME}-${PVER}.tar.bz2" |
24 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
25 | |
26 | sminclude mbuild |
27 | |
28 | SRC_URI=( |
29 | http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/distfiles/${SRCFILE} |
30 | http://www.libgd.org/releases/${SRCFILE} |
31 | mirror://${PNAME}/${SRCFILE} |
32 | ) |
33 | |
34 | #UP2DATE="updatecmd ${HOMEPAGE}/releases | grep -v RC | grep -v latest | lasttarball" |
35 | UP2DATE="updatecmd https://bitbucket.org/libgd/gd-libgd/downloads | highesttarball xz" |
36 | |
37 | src_prepare() |
38 | { |
39 | munpack ${SRCFILE} || die |
40 | cd ${SRCDIR} |
41 | |
42 | # fixes libtool2 issues |
43 | # ./libtool: line 841: X--tag=CC: command not found |
44 | mautoreconf || die |
45 | } |
46 | |
47 | src_compile() |
48 | { |
49 | cd ${SRCDIR} |
50 | |
51 | mconfigure --disable-rpath --with-jpeg --with-png --with-xpm --with-freetype || die |
52 | mmake || die |
53 | } |