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