Contents of /smage/trunk/core/giflib/giflib-5.2.2-r1.smage2
Parent Directory | Revision Log
Revision 17882 -
(show annotations)
(download)
Tue Mar 5 16:33:34 2024 UTC (3 months ago) by niro
File size: 1395 byte(s)
Tue Mar 5 16:33:34 2024 UTC (3 months ago) by niro
File size: 1395 byte(s)
-ver bump to 5.2.2-r1
1 | # $Id$ |
2 | |
3 | PNAME="giflib" |
4 | PVER="5.2.2" |
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.1 |
13 | >= x11-libs/libX11-1.8 |
14 | >= x11-libs/libICE-1 |
15 | >= x11-libs/libSM-1.2" |
16 | |
17 | SDEPEND=">= x11-libs/libXt-dev-1.1 |
18 | >= x11-libs/libX11-dev-1.8 |
19 | >= x11-libs/libICE-dev-1 |
20 | >= x11-libs/libSM-dev-1.2" |
21 | |
22 | SRCFILE="${PNAME}-${PVER}.tar.gz" |
23 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
24 | |
25 | ALX_PKG_KEEP="usr/$(MABI=m64 mlibdir)/*.so.*" |
26 | ALX_LIB32_PKG_KEEP="usr/$(MABI=m32 mlibdir)/*.so.*" |
27 | sminclude multilib mbuild lib32-split alx-split |
28 | msetfeature "!check" |
29 | |
30 | SRC_URI=( |
31 | sourceforge://${PNAME}/${SRCFILE} |
32 | mirror://${PNAME}/${SRCFILE} |
33 | mirror://${PNAME}/${PNAME}-5.1.9-fix-missing-quantize-API-symbols.patch |
34 | ) |
35 | |
36 | #UP2TARBALL="${PNAME}" |
37 | #UP2DATE="updatecmd_sourceforge ${PNAME} ${PNAME}-5.x gz" |
38 | UP2DATE="updatecmd_sourceforge ${PNAME} gz" |
39 | |
40 | src_prepare() |
41 | { |
42 | munpack ${SRCFILE} || die |
43 | |
44 | # these API symbols are required by many other applications like mplayer |
45 | mpatch ${PNAME}-5.1.9-fix-missing-quantize-API-symbols.patch || die |
46 | |
47 | # alx has no imagemagick |
48 | all-abis touch ${SRCDIR}-$(mabi)/doc/giflib-logo.gif || die |
49 | } |
50 | |
51 | src_compile() |
52 | { |
53 | mmake || die |
54 | } |
55 | |
56 | alx_generic_src_install() |
57 | { |
58 | mmake DESTDIR=${BINDIR} PREFIX=/usr LIBDIR=/usr/'$(mlibdir)' install || die |
59 | minstalldocs COPYING ChangeLog NEWS README || die |
60 | } |