summaryrefslogtreecommitdiff
path: root/gis
diff options
context:
space:
mode:
authorArTourter <artourter@gmail.com>2021-10-27 18:21:48 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-10-30 23:52:42 +0700
commit94d7de100b0c7c4ffddc1f19e4e84051f56fa4c6 (patch)
treebabeb42d5f425ddd9290a8093199cb067475e127 /gis
parentfe84bc1c74710622087ae99c28f693826b8d6a18 (diff)
downloadslackbuilds-94d7de100b0c7c4ffddc1f19e4e84051f56fa4c6.tar.gz
gis/geos: Updated for version 3.10.0 + new maintainer.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'gis')
-rw-r--r--gis/geos/geos.SlackBuild37
-rw-r--r--gis/geos/geos.info10
2 files changed, 24 insertions, 23 deletions
diff --git a/gis/geos/geos.SlackBuild b/gis/geos/geos.SlackBuild
index 5c884f9f3e..494fd7b17f 100644
--- a/gis/geos/geos.SlackBuild
+++ b/gis/geos/geos.SlackBuild
@@ -3,6 +3,7 @@
# Slackware build script for geos
# Written by Kyle Guinn <elyk03@gmail.com>
# Maintained 2013-2021 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
+# Copyright 2021 Gregory J. L. Tourte <artourter@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +26,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=geos
-VERSION=${VERSION:-3.9.1}
+VERSION=${VERSION:-3.10.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -70,7 +71,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
+tar xvf $CWD/$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -79,26 +80,26 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS -std=c++11" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib$LIBDIRSUFFIX \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --infodir=/usr/info \
- --mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --enable-shared \
- --disable-static \
- --build=$ARCH-slackware-linux
+mkdir -p build
+(
+ cd build
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_MANDIR=/usr/man \
+ -DCMAKE_BUILD_TYPE=Release \
+ ..
+ make
+ make install DESTDIR=$PKG
+)
-make
-make install-strip DESTDIR=$PKG
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- AUTHORS COPYING NEWS README.md \
+ AUTHORS COPYING DEVELOPER-NOTES.md HOWTO_RELEASE INSTALL.md NEWS README.md \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/gis/geos/geos.info b/gis/geos/geos.info
index 935d9c6081..462f17bbcc 100644
--- a/gis/geos/geos.info
+++ b/gis/geos/geos.info
@@ -1,10 +1,10 @@
PRGNAM="geos"
-VERSION="3.9.1"
+VERSION="3.10.0"
HOMEPAGE="https://trac.osgeo.org/geos/"
-DOWNLOAD="https://download.osgeo.org/geos/geos-3.9.1.tar.bz2"
-MD5SUM="efc4ce81bdbaa5e5c1caefe6c9b8553c"
+DOWNLOAD="https://github.com/libgeos/geos/archive/refs/tags/3.10.0.tar.gz"
+MD5SUM="fcc81ca6514bb653e6c7cbb08955ab95"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Benjamin Trigona-Harany"
-EMAIL="slackbuilds@jaxartes.net"
+MAINTAINER="ArTourter"
+EMAIL="artourter@gmail.com"