Magellan Linux

Contents of /smage/branches/alx07x-unstable/core/libpng/libpng-1.5.30-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 14656 - (show annotations) (download)
Tue Aug 4 11:41:00 2020 UTC (3 years, 8 months ago) by niro
File size: 776 byte(s)
-release branches/alx07x-unstable
1 # $Id$
2
3 PNAME="libpng"
4 PVER="1.5.30"
5 PBUILD="r2"
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 }