Contents of /smage/branches/alx-0_6_0/core/libtiff/libtiff-3.9.4-r1.smage2
Parent Directory | Revision Log
Revision 1907 -
(show annotations)
(download)
Mon May 2 18:00:50 2011 UTC (13 years, 1 month ago) by niro
File size: 991 byte(s)
Mon May 2 18:00:50 2011 UTC (13 years, 1 month ago) by niro
File size: 991 byte(s)
auto added: ver bump to 3.9.4-r1
1 | # $Id$ |
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 | REMOVE_DEPRECATED_MAGE_TARGETS=1 |
20 | ALX_ONLY_KEEP="usr/$(mlibdir)/*.so usr/$(mlibdir)/*.so.*" |
21 | sminclude mbuild multilib alx-split |
22 | |
23 | SRC_URI=( |
24 | ftp://ftp.remotesensing.org/pub/${PNAME}/${SRCFILE} |
25 | mirror://${PNAME}/${SRCFILE} |
26 | ) |
27 | |
28 | # ignore beta and alpha versions |
29 | UP2DATE="updatecmd ftp://ftp.remotesensing.org/pub/${PNAME}/ | sed -e '/alpha/d' -e '/beta/d' | lasttarball gz" |
30 | |
31 | src_compile() |
32 | { |
33 | mconfigure --without-x || die |
34 | mmake || die |
35 | } |
36 | |
37 | src_install() |
38 | { |
39 | minstall_destdir || die |
40 | |
41 | [ -d ${BINDIR}/usr/share/doc/tiff-${PVER} ] && rm -rf ${BINDIR}/usr/share/doc/tiff-${PVER} |
42 | minstalldocs COPYRIGHT ChangeLog HOWTO-RELEASE README RELEASE-DATE TODO VERSION || die |
43 | } |