Magellan Linux

Contents of /branches/R11-unstable/extras/libtiff/libtiff-4.0.10-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 32630 - (show annotations) (download)
Mon Apr 29 13:18:29 2019 UTC (5 years ago) by niro
File size: 956 byte(s)
-release branches/R11-unstable
1 # $Id$
2
3 PNAME="libtiff"
4 PVER="4.0.10"
5 PBUILD="r1"
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 }