Contents of /smage/branches/alx08x-unstable/core/libpng/libpng-1.6.43-r1.smage2
Parent Directory | Revision Log
Revision 18013 -
(show annotations)
(download)
Fri Mar 15 09:33:07 2024 UTC (2 months, 2 weeks ago) by niro
File size: 916 byte(s)
Fri Mar 15 09:33:07 2024 UTC (2 months, 2 weeks ago) by niro
File size: 916 byte(s)
-release branches/alx08x-unstable
1 | # $Id$ |
2 | |
3 | PNAME="libpng" |
4 | PVER="1.6.43" |
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" |
13 | ALX_LIB32_DEPEND=">= sys-libs/zlib-lib32-1.2" |
14 | SDEPEND=">= sys-libs/zlib-dev-1.2" |
15 | |
16 | SRCFILE="${PNAME}-${PVER}.tar.xz" |
17 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
18 | |
19 | ALX_PKG_KEEP="usr/$(MABI=m64 mlibdir)/*.so.*" |
20 | ALX_LIB32_PKG_KEEP="usr/$(MABI=m32 mlibdir)/*.so.*" |
21 | sminclude multilib mbuild lib32-split alx-split |
22 | |
23 | SRC_URI=( |
24 | sourceforge://${PNAME}/${SRCFILE} |
25 | mirror://${PNAME}/${SRCFILE} |
26 | ) |
27 | |
28 | UP2TARBALL="${PNAME}" |
29 | UP2DATE="updatecmd_sourceforge ${PNAME} ${PNAME}$(echo ${PVER%.*} | sed 's:.::') xz" |
30 | |
31 | src_install() |
32 | { |
33 | mmake DESTDIR=${BINDIR} install || die |
34 | |
35 | # mstriplibtoolarchive misses this one |
36 | all-abis 'rm ${BINDIR}/usr/$(mlibdir)/libpng.la' || die |
37 | |
38 | minstalldocs ANNOUNCE CHANGES LICENSE README TODO || die |
39 | } |