Contents of /smage/trunk/core/libpng/libpng-1.5.30-r1.smage2
Parent Directory | Revision Log
Revision 11574 -
(show annotations)
(download)
Thu Dec 21 13:41:53 2017 UTC (6 years, 9 months ago) by niro
File size: 776 byte(s)
Thu Dec 21 13:41:53 2017 UTC (6 years, 9 months ago) by niro
File size: 776 byte(s)
auto added: ver bump to 1.5.30-r1
1 | # $Id$ |
2 | |
3 | PNAME="libpng" |
4 | PVER="1.5.30" |
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 mbuild 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 | } |