Contents of /trunk/core/giflib/giflib-4.1.6-r3.smage2
Parent Directory | Revision Log
Revision 3955 -
(show annotations)
(download)
Sat Nov 14 13:16:07 2009 UTC (14 years, 10 months ago) by niro
File size: 1044 byte(s)
Sat Nov 14 13:16:07 2009 UTC (14 years, 10 months ago) by niro
File size: 1044 byte(s)
-fixed UP2DATE
1 | # $Id$ |
2 | |
3 | PNAME="giflib" |
4 | PVER="4.1.6" |
5 | PBUILD="r3" |
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 | UP2DATE="updatecmd_sourceforge ${PNAME} '${PNAME} 4.x' - ${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 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |