Contents of /trunk/core/libpng/libpng-1.5.8-r1.smage2
Parent Directory | Revision Log
Revision 10795 -
(show annotations)
(download)
Thu Feb 2 23:39:33 2012 UTC (12 years, 4 months ago) by niro
File size: 684 byte(s)
Thu Feb 2 23:39:33 2012 UTC (12 years, 4 months ago) by niro
File size: 684 byte(s)
-security update
1 | # $Id$ |
2 | |
3 | PNAME="libpng" |
4 | PVER="1.5.8" |
5 | PBUILD="r1" |
6 | |
7 | PCAT="media-libs" |
8 | |
9 | DESCRIPTION="libpng is the official PNG reference library." |
10 | HOMEPAGE="http://www.libpng.org/pub/png/libpng.html" |
11 | |
12 | DEPEND=">= sys-libs/zlib-1.2.5" |
13 | |
14 | SRCFILE="${PNAME}-${PVER}.tar.xz" |
15 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
16 | |
17 | sminclude multilib |
18 | |
19 | SRC_URI=( |
20 | sourceforge://${PNAME}/${SRCFILE} |
21 | mirror://${PNAME}/${SRCFILE} |
22 | ) |
23 | |
24 | # no devel versions! |
25 | UP2EXCLUDE="-devel" |
26 | UP2DATE="updatecmd_sourceforge ${PNAME}" |
27 | |
28 | src_install() |
29 | { |
30 | mmake DESTDIR=${BINDIR} install || die |
31 | |
32 | # mstriplibtoolarchive misses this one |
33 | all-abis 'rm ${BINDIR}/usr/$(mlibdir)/libpng.la' || die |
34 | |
35 | minstalldocs ANNOUNCE CHANGES LICENSE README TODO || die |
36 | } |