Magellan Linux

Annotation of /smage/trunk/core/libpng/libpng-1.5.26-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 8277 - (hide annotations) (download)
Tue Jan 12 12:09:27 2016 UTC (8 years, 4 months ago) by niro
File size: 769 byte(s)
auto added: ver bump to 1.5.26-r1
1 niro 8277 # $Id$
2    
3     PNAME="libpng"
4     PVER="1.5.26"
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.7"
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     UP2TARBALL="${PNAME}"
26     UP2DATE="updatecmd_sourceforge ${PNAME} ${PNAME}$(echo ${PVER%.*} | sed 's:.::') xz"
27    
28     alx_generic_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     }