Magellan Linux

Annotation of /branches/R11-unstable/extras/libtiff/libtiff-4.0.3-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 13387 - (hide annotations) (download)
Sat Oct 6 12:45:55 2012 UTC (11 years, 7 months ago) by niro
Original Path: trunk/core/libtiff/libtiff-4.0.3-r1.smage2
File size: 969 byte(s)
auto added: ver bump to 4.0.3-r1
1 niro 13387 # $Id$
2    
3     PNAME="libtiff"
4     PVER="4.0.3"
5     PBUILD="r1"
6    
7     PCAT="media-libs"
8    
9     DESCRIPTION="LibTIFF - TIFF Library and Utilities."
10     HOMEPAGE="http://www.remotesensing.org/libtiff/"
11    
12     DEPEND=">= media-libs/libjpeg-8
13     >= sys-libs/zlib-1.2.5
14     >= sys-libs/libstdc++-4.7"
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     }