Annotation of /trunk/extras/libpng12/libpng12-1.2.59-r1.smage2
Parent Directory
|
Revision Log
Revision 30142 -
(hide annotations)
(download)
Mon Oct 30 09:38:47 2017 UTC (6 years, 10 months ago) by niro
File size: 1076 byte(s)
Mon Oct 30 09:38:47 2017 UTC (6 years, 10 months ago) by niro
File size: 1076 byte(s)
-fixed missing include
1 | niro | 30141 | # $Id$ |
2 | |||
3 | PNAME="libpng12" | ||
4 | PVER="1.2.59" | ||
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.8" | ||
13 | |||
14 | SRCFILE="${PNAME/12}-${PVER}.tar.xz" | ||
15 | SRCDIR="${BUILDDIR}/${PNAME/12}-${PVER}" | ||
16 | |||
17 | niro | 30142 | sminclude multilib mbuild mtools |
18 | niro | 30141 | |
19 | SRC_URI=( | ||
20 | sourceforge://${PNAME/12}/${SRCFILE} | ||
21 | mirror://${PNAME/12}/${SRCFILE} | ||
22 | ) | ||
23 | |||
24 | UP2EXCLUDE="-no-config" | ||
25 | UP2TARBALL="${PNAME/12}" | ||
26 | UP2DATE="updatecmd_sourceforge ${PNAME/12} ${PNAME/12}$(echo ${PVER%.*} | sed 's:.::') xz" | ||
27 | |||
28 | src_install() | ||
29 | { | ||
30 | mmake DESTDIR=${BINDIR} install || die | ||
31 | |||
32 | # mstriplibtoolarchive misses this one | ||
33 | all-abis 'mdelete /usr/$(mlibdir)/libpng.la' || die | ||
34 | |||
35 | # cleanup files which conflicts with libpng | ||
36 | mdelete /usr/bin/libpng-config || die | ||
37 | mdelete /usr/include/png.h || die | ||
38 | mdelete /usr/include/pngconf.h || die | ||
39 | all-abis 'mdelete /usr/$(mlibdir)/libpng.so' || die | ||
40 | all-abis 'mdelete /usr/$(mlibdir)/pkgconfig/libpng.pc' || die | ||
41 | mdelete -r /usr/share/man || die | ||
42 | |||
43 | minstalldocs ANNOUNCE CHANGES LICENSE README TODO || die | ||
44 | } |