From 4b14b6554200a403a2fcdaae92abde7323a8843a Mon Sep 17 00:00:00 2001 From: David Spencer Date: Tue, 15 May 2012 14:13:54 -0500 Subject: [PATCH] libraries/libgeotiff: Updated for version 1.4.0. Signed-off-by: Robby Workman --- libraries/libgeotiff/README | 2 ++ libraries/libgeotiff/libgeotiff.SlackBuild | 11 ++++++++--- libraries/libgeotiff/libgeotiff.info | 6 +++--- libraries/libgeotiff/slack-desc | 2 +- 4 files changed, 14 insertions(+), 7 deletions(-) diff --git a/libraries/libgeotiff/README b/libraries/libgeotiff/README index 29d4f0a9f9..954fb55dd5 100644 --- a/libraries/libgeotiff/README +++ b/libraries/libgeotiff/README @@ -1,2 +1,4 @@ libgeotiff (GeoTIFF support library) is designed for reading and writing coordinate system information from/to GeoTIFF files. + +This requires proj. diff --git a/libraries/libgeotiff/libgeotiff.SlackBuild b/libraries/libgeotiff/libgeotiff.SlackBuild index 59c534f8df..0bdbfef437 100644 --- a/libraries/libgeotiff/libgeotiff.SlackBuild +++ b/libraries/libgeotiff/libgeotiff.SlackBuild @@ -25,7 +25,7 @@ # Maintained by David Spencer PRGNAM=libgeotiff -VERSION=${VERSION:-1.3.0} +VERSION=${VERSION:-1.4.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -79,9 +79,11 @@ LDFLAGS="-L/usr/lib${LIBDIRSUFFIX}" \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --sysconfdir=/etc \ --localstatedir=/var \ + --mandir=/usr/man \ --datadir=/usr/share \ --infodir=/usr/info \ - --with-libtiff=/usr/lib \ + --with-zlib=yes \ + --with-jpeg=yes \ --disable-static \ --build=$ARCH-slackware-linux @@ -91,9 +93,12 @@ make install DESTDIR=$PKG find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done + mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ - ChangeLog LICENSE README* \ + ChangeLog LICENSE README \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/libraries/libgeotiff/libgeotiff.info b/libraries/libgeotiff/libgeotiff.info index b417e1b181..9bc78ded49 100644 --- a/libraries/libgeotiff/libgeotiff.info +++ b/libraries/libgeotiff/libgeotiff.info @@ -1,8 +1,8 @@ PRGNAM="libgeotiff" -VERSION="1.3.0" +VERSION="1.4.0" HOMEPAGE="http://trac.osgeo.org/geotiff/" -DOWNLOAD="http://download.osgeo.org/geotiff/libgeotiff/libgeotiff-1.3.0.tar.gz" -MD5SUM="6ac3c22e44711e9a3add9044e40b9527" +DOWNLOAD="http://download.osgeo.org/geotiff/libgeotiff/libgeotiff-1.4.0.tar.gz" +MD5SUM="efa7b418bc00228fcda4da63557e40c2" DOWNLOAD_x86_64="" MD5SUM_x86_64="" MAINTAINER="David Spencer" diff --git a/libraries/libgeotiff/slack-desc b/libraries/libgeotiff/slack-desc index 85c3a2e612..369b3b8b08 100644 --- a/libraries/libgeotiff/slack-desc +++ b/libraries/libgeotiff/slack-desc @@ -9,7 +9,7 @@ libgeotiff: libgeotiff (GeoTIFF support library) libgeotiff: libgeotiff: libgeotiff is designed for reading and writing coordinate system -libgeotiff: information from/to GeoTIFF files +libgeotiff: information from/to GeoTIFF files. libgeotiff: libgeotiff: libgeotiff: