Magellan Linux

Contents of /smage/branches/alx-0_9_0/giflib/giflib-4.1.6-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1271 - (show annotations) (download)
Tue Dec 29 12:48:37 2009 UTC (14 years, 4 months ago) by niro
File size: 1071 byte(s)
renamed branch_0.9.0 to alx-0_9_0
1 # $Header: /alx-cvs/smage-eglibc/giflib/giflib-4.1.6-r1.smage2,v 1.1 2008/06/04 09:06:18 niro Exp $
2
3 PNAME="giflib"
4 PVER="4.1.6"
5 PBUILD="r1"
6
7 PCATEGORIE="media-libs"
8 STATE="unstable"
9
10 DESCRIPTION="giflib - no binaries installed, use libungif instead."
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 alx
22
23 SRC_URI=(
24 sourceforge://${PNAME}/${SRCFILE}
25 mirror://${PNAME}/${SRCFILE}
26 )
27
28 src_compile()
29 {
30 cd ${SRCDIR}
31 mconfigure --with-x || die
32 mmake || die
33 }
34
35 preinstall()
36 {
37 if [[ ! -z $(magequery -n libungif) ]]
38 then
39 echo -e ${COLRED}
40 echo -e "Error: media-libs/libungif is installed!!"
41 echo -e "Work on libungif has been halted due to the expiration of the patent on LZW."
42 echo -e "Now all binaries of media-libs/giflib get installed and collide with libungif"
43 echo -e "Please uninstall media-libs/libungif first!"
44 echo -e ${COLDEFAULT}
45 die "libungif found!"
46 fi
47 }

Properties

Name Value
svn:keywords Id