Magellan Linux

Annotation of /branches/R11-stable/core/giflib/giflib-5.0.5-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 19412 - (hide annotations) (download)
Mon Sep 16 08:55:38 2013 UTC (10 years, 8 months ago) by niro
File size: 1051 byte(s)
-release branches/R11-stable
1 niro 19243 # $Id$
2    
3     PNAME="giflib"
4     PVER="5.0.5"
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
13     >= x11-libs/libX11-1
14     >= x11-libs/libICE-1
15     >= x11-libs/libSM-1"
16    
17     SRCFILE="${PNAME}-${PVER}.tar.bz2"
18     SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
19    
20     sminclude mbuild
21     msetfeature "!check"
22    
23     SRC_URI=(
24     sourceforge://${PNAME}/${SRCFILE}
25     mirror://${PNAME}/${SRCFILE}
26     )
27    
28     UP2TARBALL="${PNAME}"
29     UP2DATE="updatecmd_sourceforge ${PNAME} ${PNAME}-5.x"
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     }