Magellan Linux

Annotation of /branches/magellan-next/core/libtiff/libtiff-3.9.5-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 7664 - (hide annotations) (download)
Sun May 29 19:33:13 2011 UTC (13 years, 1 month ago) by niro
File size: 890 byte(s)
auto added: ver bump to 3.9.5-r1
1 niro 7664 # $Id$
2    
3     PNAME="libtiff"
4     PVER="3.9.5"
5     PBUILD="r1"
6    
7     PCATEGORIE="media-libs"
8     STATE="unstable"
9    
10     DESCRIPTION="LibTIFF - TIFF Library and Utilities."
11     HOMEPAGE="http://www.remotesensing.org/libtiff/"
12    
13     DEPEND=">= media-libs/libjpeg-8
14     >= sys-libs/zlib-1.2.5"
15    
16     SRCFILE="${PNAME/lib}-${PVER}.tar.gz"
17     SRCDIR="${BUILDDIR}/${PNAME/lib}-${PVER}"
18    
19     sminclude mbuild multilib
20    
21     SRC_URI=(
22     ftp://ftp.remotesensing.org/pub/${PNAME}/${SRCFILE}
23     mirror://${PNAME}/${SRCFILE}
24     )
25    
26     # ignore beta and alpha versions
27     UP2DATE="updatecmd ftp://ftp.remotesensing.org/pub/${PNAME}/ | sed -e '/alpha/d' -e '/beta/d' | lasttarball gz"
28    
29     src_compile()
30     {
31     mconfigure --without-x || die
32     mmake || die
33     }
34    
35     src_install()
36     {
37     minstall_destdir || die
38    
39     [ -d ${BINDIR}/usr/share/doc/tiff-${PVER} ] && rm -rf ${BINDIR}/usr/share/doc/tiff-${PVER}
40     minstalldocs COPYRIGHT ChangeLog HOWTO-RELEASE README RELEASE-DATE TODO VERSION || die
41     }