Magellan Linux

Annotation of /smage/branches/alx07x-unstable/extras/gd/gd-2.3.0-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 14327 - (hide annotations) (download)
Wed Jul 8 20:31:05 2020 UTC (3 years, 10 months ago) by niro
Original Path: smage/trunk/extras/gd/gd-2.3.0-r1.smage2
File size: 1272 byte(s)
auto added: ver bump to 2.3.0-r1
1 niro 14326 # $Id$
2    
3     PNAME="gd"
4     PVER="2.3.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=">= virtual/libjpeg
13     >= media-libs/libpng-1.5
14     >= media-libs/freetype-2.9
15     >= media-libs/fontconfig-2.13
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.11"
22    
23     ALX_DEV_DEPEND=">= virtual/libjpeg-dev
24     >= media-libs/libpng-dev-1.5
25     >= media-libs/freetype-dev-2.9
26     >= media-libs/fontconfig-dev-2.13
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.11"
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 niro 14327 https://github.com/libgd/libgd/releases/download/${PNAME}-${PVER}/${SRCFILE}
44 niro 14326 mirror://${PNAME}/${SRCFILE}
45     )
46    
47     UP2DATE="updatecmd https://github.com/libgd/libgd/releases | 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     }