Contents of /smage/trunk/core/giflib/giflib-5.2.1-r1.smage2
Parent Directory | Revision Log
Revision 14374 -
(show annotations)
(download)
Thu Jul 9 13:28:35 2020 UTC (4 years, 2 months ago) by niro
File size: 1048 byte(s)
Thu Jul 9 13:28:35 2020 UTC (4 years, 2 months ago) by niro
File size: 1048 byte(s)
auto added: ver bump to 5.2.1-r1
1 | # $Id$ |
2 | |
3 | PNAME="giflib" |
4 | PVER="5.2.1" |
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.4 |
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.4 |
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/$(mlibdir)/*.so.*" |
26 | sminclude mbuild alx-split |
27 | msetfeature "!check" |
28 | |
29 | SRC_URI=( |
30 | sourceforge://${PNAME}/${SRCFILE} |
31 | mirror://${PNAME}/${SRCFILE} |
32 | mirror://${PNAME}/${PNAME}-5.1.9-fix-missing-quantize-API-symbols.patch |
33 | ) |
34 | |
35 | UP2TARBALL="${PNAME}" |
36 | UP2DATE="updatecmd_sourceforge ${PNAME} ${PNAME}-5.x gz" |
37 | |
38 | src_prepare() |
39 | { |
40 | munpack ${SRCFILE} || die |
41 | cd ${SRCDIR} |
42 | |
43 | # these API symbols are required by many other applications like mplayer |
44 | mpatch ${PNAME}-5.1.9-fix-missing-quantize-API-symbols.patch || die |
45 | } |
46 | |
47 | src_compile() |
48 | { |
49 | cd ${SRCDIR} |
50 | mmake || die |
51 | } |