Annotation of /smage/trunk/core/libtiff/libtiff-3.9.4-r1.smage2
Parent Directory | Revision Log
Revision 1150 -
(hide annotations)
(download)
Thu Jan 27 21:48:08 2011 UTC (13 years, 3 months ago) by niro
Original Path: smage/trunk/extras/libtiff/libtiff-3.9.4-r1.smage2
File size: 1019 byte(s)
Thu Jan 27 21:48:08 2011 UTC (13 years, 3 months ago) by niro
Original Path: smage/trunk/extras/libtiff/libtiff-3.9.4-r1.smage2
File size: 1019 byte(s)
-mcorify
1 | niro | 1148 | # $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 | niro | 1150 | MCORE_ONLY_KEEP="usr/$(mlibdir)/*.so usr/$(mlibdir)/*.so.*" |
20 | sminclude mbuild multilib mcore-split | ||
21 | niro | 1148 | |
22 | SRC_URI=( | ||
23 | ftp://ftp.remotesensing.org/pub/${PNAME}/${SRCFILE} | ||
24 | mirror://${PNAME}/${SRCFILE} | ||
25 | ) | ||
26 | |||
27 | # ignore beta and alpha versions | ||
28 | UP2DATE="updatecmd ftp://ftp.remotesensing.org/pub/${PNAME}/ | sed -e '/alpha/d' -e '/beta/d' | lasttarball gz" | ||
29 | |||
30 | src_compile() | ||
31 | { | ||
32 | mconfigure --without-x || die | ||
33 | mmake || die | ||
34 | } | ||
35 | |||
36 | src_install() | ||
37 | { | ||
38 | minstall_destdir || die | ||
39 | |||
40 | [ -d ${BINDIR}/usr/share/doc/tiff-${PVER} ] && rm -rf ${BINDIR}/usr/share/doc/tiff-${PVER} | ||
41 | minstalldocs COPYRIGHT ChangeLog HOWTO-RELEASE README RELEASE-DATE TODO VERSION || die | ||
42 | } |