Magellan Linux

Annotation of /smage/branches/alx07x-stable/core/giflib/giflib-5.2.1-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 14987 - (hide annotations) (download)
Thu Aug 6 13:00:32 2020 UTC (3 years, 9 months ago) by niro
File size: 1048 byte(s)
-release branches/alx07x-stable
1 niro 14373 # $Id$
2    
3     PNAME="giflib"
4     PVER="5.2.1"
5     PBUILD="r1"
6    
7     PCAT="media-libs"
8    
9     DESCRIPTION="giflib is a library for reading and writing gif images."
10     HOMEPAGE="http://sourceforge.net/projects/giflib"
11    
12     DEPEND=">= x11-libs/libXt-1.1
13     >= x11-libs/libX11-1.4
14     >= x11-libs/libICE-1
15     >= x11-libs/libSM-1.2"
16    
17     SDEPEND=">= x11-libs/libXt-dev-1.1
18     >= x11-libs/libX11-dev-1.4
19     >= x11-libs/libICE-dev-1
20     >= x11-libs/libSM-dev-1.2"
21    
22     SRCFILE="${PNAME}-${PVER}.tar.gz"
23     SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
24    
25     ALX_PKG_KEEP="usr/$(mlibdir)/*.so.*"
26     sminclude mbuild alx-split
27     msetfeature "!check"
28    
29     SRC_URI=(
30     sourceforge://${PNAME}/${SRCFILE}
31     mirror://${PNAME}/${SRCFILE}
32 niro 14374 mirror://${PNAME}/${PNAME}-5.1.9-fix-missing-quantize-API-symbols.patch
33 niro 14373 )
34    
35     UP2TARBALL="${PNAME}"
36     UP2DATE="updatecmd_sourceforge ${PNAME} ${PNAME}-5.x gz"
37    
38 niro 14374 src_prepare()
39     {
40     munpack ${SRCFILE} || die
41     cd ${SRCDIR}
42    
43     # these API symbols are required by many other applications like mplayer
44     mpatch ${PNAME}-5.1.9-fix-missing-quantize-API-symbols.patch || die
45     }
46    
47 niro 14373 src_compile()
48     {
49     cd ${SRCDIR}
50     mmake || die
51     }