Contents of /branches/R11-stable/extras/gd/gd-2.1.1-r1.smage2
Parent Directory | Revision Log
Revision 24458 -
(show annotations)
(download)
Fri Feb 20 11:31:01 2015 UTC (9 years, 7 months ago) by niro
File size: 875 byte(s)
Fri Feb 20 11:31:01 2015 UTC (9 years, 7 months ago) by niro
File size: 875 byte(s)
-release branches/R11-stable
1 | # $Id$ |
2 | |
3 | PNAME="gd" |
4 | PVER="2.1.1" |
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.6 |
17 | >= x11-libs/libXau-1 |
18 | >= x11-libs/libxcb-1.11 |
19 | >= x11-libs/libXdmcp-1 |
20 | >= x11-libs/libXpm-3 |
21 | >= sys-libs/zlib-1.2.5" |
22 | |
23 | SRCFILE="lib${PNAME}-${PVER}.tar.xz" |
24 | SRCDIR="${BUILDDIR}/lib${PNAME}-${PVER}" |
25 | |
26 | sminclude mbuild |
27 | |
28 | SRC_URI=( |
29 | https://bitbucket.org/libgd/gd-libgd/downloads/${SRCFILE} |
30 | mirror://${PNAME}/${SRCFILE} |
31 | ) |
32 | |
33 | UP2DATE="updatecmd https://bitbucket.org/libgd/gd-libgd/downloads | highesttarball xz" |
34 | |
35 | src_compile() |
36 | { |
37 | cd ${SRCDIR} |
38 | |
39 | mconfigure --disable-rpath --with-jpeg --with-png --with-xpm --with-freetype || die |
40 | mmake || die |
41 | } |