Magellan Linux

Contents of /trunk/extras/libtiff/libtiff-4.0.6-r3.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 29186 - (show annotations) (download)
Mon May 29 10:28:55 2017 UTC (7 years ago) by niro
File size: 964 byte(s)
-rebuild against libjpeg-turbo
1 # $Id$
2
3 PNAME="libtiff"
4 PVER="4.0.6"
5 PBUILD="r3"
6
7 PCAT="media-libs"
8
9 DESCRIPTION="LibTIFF - TIFF Library and Utilities."
10 HOMEPAGE="http://www.remotesensing.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 mbuild multilib
20 # raw_decode test is failing atm - fix
21 msetfeature "!check"
22
23 SRC_URI=(
24 ftp://ftp.remotesensing.org/pub/${PNAME}/${SRCFILE}
25 mirror://${PNAME}/${SRCFILE}
26 )
27
28 # ignore beta and alpha versions
29 UP2DATE="updatecmd ftp://ftp.remotesensing.org/pub/${PNAME}/ | sed -e '/alpha/d' -e '/beta/d' | lasttarball 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 }