Magellan Linux

Annotation of /smage/trunk/core/libtiff/libtiff-4.1.0-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 14015 - (hide annotations) (download)
Thu Jul 2 12:20:33 2020 UTC (3 years, 10 months ago) by niro
File size: 1108 byte(s)
auto added: ver bump to 4.1.0-r2
1 niro 14015 # $Id$
2    
3     PNAME="libtiff"
4     PVER="4.1.0"
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=">= virtual/libjpeg
13     >= sys-libs/zlib-1.2.5
14     >= sys-libs/libstdc++-8.4"
15    
16     SDEPEND=">= virtual/libjpeg-dev
17     >= sys-libs/zlib-dev-1.2.5
18     >= sys-libs/libstdc++-dev-8.4"
19    
20     SRCFILE="${PNAME/lib}-${PVER}.tar.gz"
21     SRCDIR="${BUILDDIR}/${PNAME/lib}-${PVER}"
22    
23     ALX_PKG_KEEP="usr/$(mlibdir)/*.so.*"
24     sminclude multilib mbuild alx-split
25     # raw_decode test is failing atm - fix
26     msetfeature "!check"
27    
28     SRC_URI=(
29     http://download.osgeo.org/${PNAME}/${SRCFILE}
30     mirror://${PNAME}/${SRCFILE}
31     )
32    
33     # ignore beta and alpha versions
34     UP2DATE="updatecmd http://download.osgeo.org/${PNAME}/ | sed -e '/alpha/d' -e '/beta/d' | highesttarball gz"
35    
36     src_compile()
37     {
38     mconfigure --without-x || die
39     mmake || die
40     }
41    
42     alx_generic_src_install()
43     {
44     mmake DESTDIR=${BINDIR} install || die
45    
46     [ -d ${BINDIR}/usr/share/doc/tiff-${PVER} ] && rm -rf ${BINDIR}/usr/share/doc/tiff-${PVER}
47     minstalldocs COPYRIGHT ChangeLog HOWTO-RELEASE README RELEASE-DATE TODO VERSION || die
48     }