Contents of /smage/trunk/core/libtiff/libtiff-4.0.6-r1.smage2
Parent Directory | Revision Log
Revision 7721 -
(show annotations)
(download)
Mon Sep 28 09:19:23 2015 UTC (8 years, 11 months ago) by niro
File size: 1097 byte(s)
Mon Sep 28 09:19:23 2015 UTC (8 years, 11 months ago) by niro
File size: 1097 byte(s)
auto added: ver bump to 4.0.6-r1
1 | # $Id$ |
2 | |
3 | PNAME="libtiff" |
4 | PVER="4.0.6" |
5 | PBUILD="r1" |
6 | |
7 | PCAT="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++-5.1" |
15 | |
16 | SDEPEND=">= sys-libs/zlib-dev-1.2.5 |
17 | >= sys-libs/libstdc++-dev-5.1" |
18 | |
19 | SRCFILE="${PNAME/lib}-${PVER}.tar.gz" |
20 | SRCDIR="${BUILDDIR}/${PNAME/lib}-${PVER}" |
21 | |
22 | ALX_PKG_KEEP="usr/$(mlibdir)/*.so.*" |
23 | sminclude mbuild multilib alx-split |
24 | # raw_decode test is failing atm - fix |
25 | msetfeature "!check" |
26 | |
27 | SRC_URI=( |
28 | ftp://ftp.remotesensing.org/pub/${PNAME}/${SRCFILE} |
29 | mirror://${PNAME}/${SRCFILE} |
30 | ) |
31 | |
32 | # ignore beta and alpha versions |
33 | UP2DATE="updatecmd ftp://ftp.remotesensing.org/pub/${PNAME}/ | sed -e '/alpha/d' -e '/beta/d' | lasttarball gz" |
34 | |
35 | src_compile() |
36 | { |
37 | mconfigure --without-x || die |
38 | mmake || die |
39 | } |
40 | |
41 | alx_generic_src_install() |
42 | { |
43 | mmake DESTDIR=${BINDIR} install || die |
44 | |
45 | [ -d ${BINDIR}/usr/share/doc/tiff-${PVER} ] && rm -rf ${BINDIR}/usr/share/doc/tiff-${PVER} |
46 | minstalldocs COPYRIGHT ChangeLog HOWTO-RELEASE README RELEASE-DATE TODO VERSION || die |
47 | } |