Annotation of /smage/trunk/extras/gd/gd-2.1.1-r1.smage2
Parent Directory | Revision Log
Revision 7072 -
(hide annotations)
(download)
Mon Sep 7 11:03:02 2015 UTC (9 years ago) by niro
File size: 1266 byte(s)
Mon Sep 7 11:03:02 2015 UTC (9 years ago) by niro
File size: 1266 byte(s)
auto added: ver bump to 2.1.1-r1
1 | niro | 7072 | # $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 | ALX_DEV_DEPEND=">= media-libs/libjpeg-dev-8 | ||
24 | >= media-libs/libpng-dev-1.5 | ||
25 | >= media-libs/freetype-dev-2.4 | ||
26 | >= media-libs/fontconfig-dev-2.8 | ||
27 | >= x11-libs/libX11-dev-1.6 | ||
28 | >= x11-libs/libXau-dev-1 | ||
29 | >= x11-libs/libxcb-dev-1.11 | ||
30 | >= x11-libs/libXdmcp-dev-1 | ||
31 | >= x11-libs/libXpm-dev-3 | ||
32 | >= sys-libs/zlib-dev-1.2.5" | ||
33 | |||
34 | SDEPEND="${ALX_DEV_DEPEND}" | ||
35 | |||
36 | SRCFILE="lib${PNAME}-${PVER}.tar.xz" | ||
37 | SRCDIR="${BUILDDIR}/lib${PNAME}-${PVER}" | ||
38 | |||
39 | ALX_PKG_KEEP="usr/$(mlibdir)/*.so.* usr/bin" | ||
40 | sminclude mbuild alx-split | ||
41 | |||
42 | SRC_URI=( | ||
43 | https://bitbucket.org/libgd/gd-libgd/downloads/${SRCFILE} | ||
44 | mirror://${PNAME}/${SRCFILE} | ||
45 | ) | ||
46 | |||
47 | UP2DATE="updatecmd https://bitbucket.org/libgd/gd-libgd/downloads | highesttarball xz" | ||
48 | |||
49 | src_compile() | ||
50 | { | ||
51 | cd ${SRCDIR} | ||
52 | |||
53 | mconfigure --disable-rpath --with-jpeg --with-png --with-xpm --with-freetype || die | ||
54 | mmake || die | ||
55 | } |