Contents of /branches/magellan-next/core/libtiff/libtiff-3.9.5-r2.smage2
Parent Directory | Revision Log
Revision 9776 -
(show annotations)
(download)
Wed Jan 11 13:48:47 2012 UTC (12 years, 8 months ago) by niro
File size: 900 byte(s)
Wed Jan 11 13:48:47 2012 UTC (12 years, 8 months ago) by niro
File size: 900 byte(s)
-added missing libstdc++ dependency
1 | # $Id$ |
2 | |
3 | PNAME="libtiff" |
4 | PVER="3.9.5" |
5 | PBUILD="r2" |
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 | >= sys-libs/libstdc++-4.6" |
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 | } |