summaryrefslogtreecommitdiffstats
path: root/gis/libgeotiff/libgeotiff.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'gis/libgeotiff/libgeotiff.SlackBuild')
-rw-r--r--gis/libgeotiff/libgeotiff.SlackBuild22
1 files changed, 9 insertions, 13 deletions
diff --git a/gis/libgeotiff/libgeotiff.SlackBuild b/gis/libgeotiff/libgeotiff.SlackBuild
index 48920ba8cf..e090ebf422 100644
--- a/gis/libgeotiff/libgeotiff.SlackBuild
+++ b/gis/libgeotiff/libgeotiff.SlackBuild
@@ -3,6 +3,9 @@
# Slackware build script for libgeotiff
# Copyright 2009 Marco Cecchetti (mrc.ildp@gmail.com)
+# Previously maintained by David Spencer <baildon.research@googlemail.com>
+# Copyright 2024 Gregory J. L. Tourte <artourter@gmail.com>
+#
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,13 +25,12 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-# Maintained by David Spencer <baildon.research@googlemail.com>
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=libgeotiff
-VERSION=${VERSION:-1.5.1}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-1.7.1}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -76,10 +78,8 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -perm /111 -a \! -perm 755 -a -exec chmod 755 {} + -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} +
# We'll stick with autotools because the new cmake build is a train wreck.
# This means you don't get inline EPSG CSV, which isn't supported in
@@ -95,9 +95,9 @@ LDFLAGS="-L/usr/lib${LIBDIRSUFFIX}" \
--localstatedir=/var \
--mandir=/usr/man \
--datadir=/usr/share \
- --infodir=/usr/info \
--with-zlib=yes \
--with-jpeg=yes \
+ --with-proj=yes \
--disable-static \
--build=$ARCH-slackware-linux
@@ -115,14 +115,10 @@ for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; r
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- COPYING ChangeLog LICENSE README \
+ ChangeLog COPYING LICENSE NEWS README \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-rm -f $PKG/usr/lib*/*.la
-
-rm -f $PKG/usr/lib*/*.la
-
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc