Magellan Linux

Contents of /smage/trunk/extras/libtiff/libtiff-3.9.4-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1148 - (show annotations) (download)
Thu Jan 27 21:40:10 2011 UTC (13 years, 3 months ago) by niro
File size: 947 byte(s)
auto added: ver bump to 3.9.4-r1
1 # $Id: libtiff-3.9.4-r1.smage2 5471 2010-06-28 17:09:19Z niro $
2
3 PNAME="libtiff"
4 PVER="3.9.4"
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 }