Magellan Linux

Contents of /smage/trunk/core/libtiff/libtiff-4.0.6-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 8248 - (show annotations) (download)
Tue Jan 12 08:33:15 2016 UTC (8 years, 3 months ago) by niro
File size: 1097 byte(s)
-c++-11 abi rebuild
1 # $Id$
2
3 PNAME="libtiff"
4 PVER="4.0.6"
5 PBUILD="r2"
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.3"
15
16 SDEPEND=">= sys-libs/zlib-dev-1.2.5
17 >= sys-libs/libstdc++-dev-5.3"
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 }