Magellan Linux

Contents of /trunk/core/giflib/giflib-5.0.0-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 12989 - (show annotations) (download)
Wed Aug 15 16:25:07 2012 UTC (11 years, 10 months ago) by niro
File size: 996 byte(s)
auto added: ver bump to 5.0.0-r1
1 # $Id$
2
3 PNAME="giflib"
4 PVER="5.0.0"
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
22 SRC_URI=(
23 sourceforge://${PNAME}/${SRCFILE}
24 mirror://${PNAME}/${SRCFILE}
25 )
26
27
28 UP2DATE="updatecmd_sourceforge ${PNAME}"
29
30 src_compile()
31 {
32 cd ${SRCDIR}
33 mconfigure --with-x || die
34 mmake || die
35 }
36
37 preinstall()
38 {
39 if [[ ! -z $(magequery -n libungif) ]]
40 then
41 echo -e ${COLRED}
42 echo -e "Error: media-libs/libungif is installed!!"
43 echo -e "Work on libungif has been halted due to the expiration of the patent on LZW."
44 echo -e "Now all binaries of media-libs/giflib get installed and collide with libungif"
45 echo -e "Please uninstall media-libs/libungif first!"
46 echo -e ${COLDEFAULT}
47 die "libungif found!"
48 fi
49 }