Magellan Linux

Contents of /branches/magellan-next/core/giflib/giflib-4.1.6-r4.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 6577 - (show annotations) (download)
Mon Sep 6 17:17:14 2010 UTC (13 years, 7 months ago) by niro
File size: 1075 byte(s)
auto added: ver bump to 4.1.6-r4
1 # $Id: giflib-4.1.6-r3.smage2 3955 2009-11-14 13:16:07Z niro $
2
3 PNAME="giflib"
4 PVER="4.1.6"
5 PBUILD="r4"
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 }