Magellan Linux

Contents of /smage/trunk/core/libtiff/libtiff-3.9.5-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1862 - (show annotations) (download)
Thu Sep 29 16:47:26 2011 UTC (12 years, 7 months ago) by niro
File size: 945 byte(s)
auto added: ver bump to 3.9.5-r1
1 # $Id$
2
3 PNAME="libtiff"
4 PVER="3.9.5"
5 PBUILD="r1"
6
7 PCATEGORIE="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
15 SRCFILE="${PNAME/lib}-${PVER}.tar.gz"
16 SRCDIR="${BUILDDIR}/${PNAME/lib}-${PVER}"
17
18 MCORE_ONLY_KEEP="usr/$(mlibdir)/*.so usr/$(mlibdir)/*.so.*"
19 sminclude mbuild multilib mcore-split
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 }