Magellan Linux

Contents of /smage/branches/alx07x-unstable/core/libtiff/libtiff-4.0.8-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 10246 - (show annotations) (download)
Thu Aug 17 08:44:46 2017 UTC (6 years, 9 months ago) by niro
Original Path: smage/trunk/core/libtiff/libtiff-4.0.8-r1.smage2
File size: 1088 byte(s)
auto added: ver bump to 4.0.8-r1
1 # $Id$
2
3 PNAME="libtiff"
4 PVER="4.0.8"
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.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 http://download.osgeo.org/${PNAME}/${SRCFILE}
29 mirror://${PNAME}/${SRCFILE}
30 )
31
32 # ignore beta and alpha versions
33 UP2DATE="updatecmd http://download.osgeo.org/${PNAME}/ | sed -e '/alpha/d' -e '/beta/d' | highesttarball 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 }