aboutsummaryrefslogtreecommitdiff
path: root/gis/GMT
diff options
context:
space:
mode:
Diffstat (limited to 'gis/GMT')
-rw-r--r--gis/GMT/GMT.SlackBuild15
-rw-r--r--gis/GMT/GMT.info10
2 files changed, 9 insertions, 16 deletions
diff --git a/gis/GMT/GMT.SlackBuild b/gis/GMT/GMT.SlackBuild
index b6b7a68a77..9d01b55a69 100644
--- a/gis/GMT/GMT.SlackBuild
+++ b/gis/GMT/GMT.SlackBuild
@@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=GMT
SRCNAM=gmt
-VERSION=${VERSION:-6.5.0}
+VERSION=${VERSION:-6.6.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -35,7 +35,7 @@ GSHHG=gshhg
GSHHG_VERSION=${GSHHG_VERSION:-2.3.7}
DCW=dcw
-DCW_VERSION=${DCW_VERSION:-2.1.2}
+DCW_VERSION=${DCW_VERSION:-2.2.0}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -45,9 +45,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -77,7 +74,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $SRCNAM-$VERSION $GSHHG-$SRCNAM-$GSHHG_VERSION $DCW-$SRCNAM-$DCW_VERSION
-tar xvf $CWD/$SRCNAM-$VERSION*.tar.gz
+tar xvf $CWD/$SRCNAM-$VERSION-src.tar.gz
tar xvf $CWD/$GSHHG-$SRCNAM-$GSHHG_VERSION.tar.gz
tar xvf $CWD/$DCW-$SRCNAM-$DCW_VERSION.tar.gz
mkdir -p $PKG/usr/share/$SRCNAM/gshhg
@@ -121,15 +118,11 @@ cd ..
# Remove unwanted empty dirs
#rmdir $PKG/usr/doc/GMT-$VERSION/html/_video_thumbnail
#rmdir $PKG/usr/man/man1/_video_thumbnail
-find $PKG/usr/doc/GMT-$VERSION/html -type d -empty -print0 | xargs -0 -I {} /usr/bin/rmdir "{}"
-find $PKG/usr/man/man1/ -type d -empty -print0 | xargs -0 -I {} /usr/bin/rmdir "{}"
+find $PKG/usr/doc/GMT-$VERSION -type d -empty -print0 | xargs -0 -I {} /usr/bin/rmdir "{}"
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
-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 BUILDING.md LICENSE.TXT README.md $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/gis/GMT/GMT.info b/gis/GMT/GMT.info
index e79c42595d..940e597072 100644
--- a/gis/GMT/GMT.info
+++ b/gis/GMT/GMT.info
@@ -1,12 +1,12 @@
PRGNAM="GMT"
-VERSION="6.5.0"
+VERSION="6.6.0"
HOMEPAGE="https://www.generic-mapping-tools.org/"
-DOWNLOAD="https://github.com/GenericMappingTools/gmt/releases/download/6.5.0/gmt-6.5.0-src.tar.gz \
+DOWNLOAD="https://github.com/GenericMappingTools/gmt/releases/download/6.6.0/gmt-6.6.0-src.tar.gz \
https://github.com/GenericMappingTools/gshhg-gmt/releases/download/2.3.7/gshhg-gmt-2.3.7.tar.gz \
- https://github.com/GenericMappingTools/dcw-gmt/releases/download/2.1.2/dcw-gmt-2.1.2.tar.gz"
-MD5SUM="a03e8d73f73c3804d78a42a3d5fc3dc7 \
+ https://github.com/GenericMappingTools/dcw-gmt/releases/download/2.2.0/dcw-gmt-2.2.0.tar.gz"
+MD5SUM="cdcd453076b0528f2ec2c76044c65328 \
8ee2653f9daf84d49fefbf990bbfa1e7 \
- b9375db7042963c7649e4f62a81df796"
+ 7f6dc21dbe8db7ad41035170eb028924"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="gdal"