Annotation of /trunk/extras/libtiff/libtiff-4.0.9-r2.smage2
Parent Directory | Revision Log
Revision 30560 -
(hide annotations)
(download)
Mon Jan 29 11:40:55 2018 UTC (6 years, 7 months ago) by niro
File size: 955 byte(s)
Mon Jan 29 11:40:55 2018 UTC (6 years, 7 months ago) by niro
File size: 955 byte(s)
auto added: ver bump to 4.0.9-r2
1 | niro | 30560 | # $Id$ |
2 | |||
3 | PNAME="libtiff" | ||
4 | PVER="4.0.9" | ||
5 | PBUILD="r2" | ||
6 | |||
7 | PCAT="media-libs" | ||
8 | |||
9 | DESCRIPTION="LibTIFF - TIFF Library and Utilities." | ||
10 | HOMEPAGE="http://www.simplesystems.org/libtiff/" | ||
11 | |||
12 | DEPEND=">= virtual/libjpeg | ||
13 | >= sys-libs/zlib-1.2.5 | ||
14 | >= sys-libs/libstdc++-6.3" | ||
15 | |||
16 | SRCFILE="${PNAME/lib}-${PVER}.tar.gz" | ||
17 | SRCDIR="${BUILDDIR}/${PNAME/lib}-${PVER}" | ||
18 | |||
19 | sminclude multilib mbuild | ||
20 | # raw_decode test is failing atm - fix | ||
21 | msetfeature "!check" | ||
22 | |||
23 | SRC_URI=( | ||
24 | http://download.osgeo.org/${PNAME}/${SRCFILE} | ||
25 | mirror://${PNAME}/${SRCFILE} | ||
26 | ) | ||
27 | |||
28 | # ignore beta and alpha versions | ||
29 | UP2DATE="updatecmd http://download.osgeo.org/${PNAME}/ | sed -e '/alpha/d' -e '/beta/d' | highesttarball gz" | ||
30 | |||
31 | src_compile() | ||
32 | { | ||
33 | mconfigure --without-x || die | ||
34 | mmake || die | ||
35 | } | ||
36 | |||
37 | src_install() | ||
38 | { | ||
39 | mmake DESTDIR=${BINDIR} install || die | ||
40 | |||
41 | [ -d ${BINDIR}/usr/share/doc/tiff-${PVER} ] && rm -rf ${BINDIR}/usr/share/doc/tiff-${PVER} | ||
42 | minstalldocs COPYRIGHT ChangeLog HOWTO-RELEASE README RELEASE-DATE TODO VERSION || die | ||
43 | } |