Magellan Linux

Contents of /branches/magellan-next/extras/gd/gd-2.0.35-r8.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 8256 - (show annotations) (download)
Wed Jul 13 15:34:01 2011 UTC (12 years, 9 months ago) by niro
File size: 1003 byte(s)
auto added: ver bump to 2.0.35-r8
1 # $Id$
2
3 PNAME="gd"
4 PVER="2.0.35"
5 PBUILD="r8"
6
7 PCATEGORIE="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
22 SRCFILE="${PNAME}-${PVER}.tar.bz2"
23 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
24
25 sminclude mbuild
26
27 SRC_URI=(
28 http://www.libgd.org/releases/${SRCFILE}
29 mirror://${PNAME}/${SRCFILE}
30 )
31
32 UP2DATE="updatecmd ${HOMEPAGE}/releases | grep -v RC | grep -v latest | lasttarball"
33
34 src_prepare()
35 {
36 munpack ${SRCFILE} || die
37 cd ${SRCDIR}
38
39 # fixes libtool2 issues
40 # ./libtool: line 841: X--tag=CC: command not found
41 autoreconf --install --force --verbose || die
42 }
43
44 src_compile()
45 {
46 cd ${SRCDIR}
47
48 mconfigure --with-jpeg --with-png --with-xpm --with-freetype || die
49 mmake || die
50 }