Magellan Linux

Contents of /smage/trunk/core/libpng/libpng-1.5.10-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3831 - (show annotations) (download)
Thu Jul 19 13:04:14 2012 UTC (11 years, 11 months ago) by niro
File size: 744 byte(s)
auto added: ver bump to 1.5.10-r1
1 # $Id$
2
3 PNAME="libpng"
4 PVER="1.5.10"
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 ALX_PKG_KEEP="usr/$(mlibdir)/*.so.*"
18 sminclude multilib alx-split
19
20 SRC_URI=(
21 sourceforge://${PNAME}/${SRCFILE}
22 mirror://${PNAME}/${SRCFILE}
23 )
24
25 # no devel versions!
26 UP2EXCLUDE="-devel"
27 UP2DATE="updatecmd_sourceforge ${PNAME}"
28
29 alx_generic_src_install()
30 {
31 mmake DESTDIR=${BINDIR} install || die
32
33 # mstriplibtoolarchive misses this one
34 all-abis 'rm ${BINDIR}/usr/$(mlibdir)/libpng.la' || die
35
36 minstalldocs ANNOUNCE CHANGES LICENSE README TODO || die
37 }