Annotation of /smage/trunk/extras/libpng/libpng-1.4.5-r1.smage2
Parent Directory | Revision Log
Revision 990 -
(hide annotations)
(download)
Thu Dec 16 19:13:06 2010 UTC (13 years, 4 months ago) by niro
File size: 813 byte(s)
Thu Dec 16 19:13:06 2010 UTC (13 years, 4 months ago) by niro
File size: 813 byte(s)
auto added: ver bump to 1.4.5-r1
1 | niro | 990 | # $Id: libpng-1.2.40-r1.smage2 542 2010-05-08 02:04:56Z niro $ |
2 | |||
3 | PNAME="libpng" | ||
4 | PVER="1.4.5" | ||
5 | PBUILD="r1" | ||
6 | |||
7 | PCATEGORIE="media-libs" | ||
8 | STATE="unstable" | ||
9 | |||
10 | DESCRIPTION="libpng is the official PNG reference library." | ||
11 | HOMEPAGE="http://www.libpng.org/pub/png/libpng.html" | ||
12 | |||
13 | DEPEND=">= sys-libs/zlib-1.2.3" | ||
14 | |||
15 | SRCFILE="${PNAME}-${PVER}.tar.bz2" | ||
16 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" | ||
17 | |||
18 | MCORE_ONLY_KEEP="usr/$(mlibdir)/*.so usr/$(mlibdir)/*.so.*" | ||
19 | sminclude multilib mcore-split | ||
20 | |||
21 | SRC_URI=( | ||
22 | sourceforge://${PNAME}/${SRCFILE} | ||
23 | mirror://${PNAME}/${SRCFILE} | ||
24 | mirror://${PNAME}/${PNAME}-1.2.36-fix-includes.patch | ||
25 | ) | ||
26 | |||
27 | # no devel versions! | ||
28 | UP2EXCLUDE="-devel" | ||
29 | UP2DATE="updatecmd_sourceforge ${PNAME} 01-${PNAME}-master" | ||
30 | |||
31 | src_prepare() | ||
32 | { | ||
33 | munpack ${SRCFILE} || die | ||
34 | |||
35 | # fix broken includes | ||
36 | mpatch ${PNAME}-1.2.36-fix-includes.patch || die | ||
37 | } |