Magellan Linux

Annotation of /branches/magellan-next/core/giflib/giflib-4.1.6-r5.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 8162 - (hide annotations) (download)
Tue Jul 12 21:36:00 2011 UTC (12 years, 11 months ago) by niro
File size: 1019 byte(s)
auto added: ver bump to 4.1.6-r5
1 niro 8162 # $Id$
2    
3     PNAME="giflib"
4     PVER="4.1.6"
5     PBUILD="r5"
6    
7     PCATEGORIE="media-libs"
8     STATE="unstable"
9    
10     DESCRIPTION="giflib is a library for reading and writing gif images."
11     HOMEPAGE="http://sourceforge.net/projects/giflib"
12    
13     DEPEND=">= x11-libs/libXt-1
14     >= x11-libs/libX11-1
15     >= x11-libs/libICE-1
16     >= x11-libs/libSM-1"
17    
18     SRCFILE="${PNAME}-${PVER}.tar.bz2"
19     SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
20    
21     sminclude mbuild
22    
23     SRC_URI=(
24     sourceforge://${PNAME}/${SRCFILE}
25     mirror://${PNAME}/${SRCFILE}
26     )
27    
28    
29     UP2DATE="updatecmd_sourceforge ${PNAME}"
30    
31     src_compile()
32     {
33     cd ${SRCDIR}
34     mconfigure --with-x || die
35     mmake || die
36     }
37    
38     preinstall()
39     {
40     if [[ ! -z $(magequery -n libungif) ]]
41     then
42     echo -e ${COLRED}
43     echo -e "Error: media-libs/libungif is installed!!"
44     echo -e "Work on libungif has been halted due to the expiration of the patent on LZW."
45     echo -e "Now all binaries of media-libs/giflib get installed and collide with libungif"
46     echo -e "Please uninstall media-libs/libungif first!"
47     echo -e ${COLDEFAULT}
48     die "libungif found!"
49     fi
50     }