Contents of /branches/magellan-next/core/libpng/libpng-1.5.7-r1.smage2
Parent Directory | Revision Log
Revision 9825 -
(show annotations)
(download)
Thu Jan 12 02:22:20 2012 UTC (12 years, 8 months ago) by niro
File size: 691 byte(s)
Thu Jan 12 02:22:20 2012 UTC (12 years, 8 months ago) by niro
File size: 691 byte(s)
-fixed BINDIR
1 | # $Id$ |
2 | |
3 | PNAME="libpng" |
4 | PVER="1.5.7" |
5 | PBUILD="r1" |
6 | |
7 | PCATEGORIE="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.bz2" |
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 | } |