aboutsummaryrefslogtreecommitdiff
path: root/gis/GMT
diff options
context:
space:
mode:
authorCristiano Urban <cristiano.urban.slack@gmail.com>2019-01-09 06:33:33 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-01-09 06:33:33 +0700
commitcdd053239aa36a070ce548958fdbf53a7e4acbd5 (patch)
treea5cc19b0a0c90552fd84de5a8f55d0ec86d08645 /gis/GMT
parentf940372408889ba2541d664a5de920cdcd69ec07 (diff)
gis/GMT: Updated for version 5.4.5.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'gis/GMT')
-rw-r--r--gis/GMT/GMT.SlackBuild13
-rw-r--r--gis/GMT/GMT.info8
2 files changed, 13 insertions, 8 deletions
diff --git a/gis/GMT/GMT.SlackBuild b/gis/GMT/GMT.SlackBuild
index e3439958e491..a91b1f713f57 100644
--- a/gis/GMT/GMT.SlackBuild
+++ b/gis/GMT/GMT.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=GMT
SRCNAM=gmt
-VERSION=${VERSION:-5.4.4}
+VERSION=${VERSION:-5.4.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -83,7 +83,7 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
if [ "${SHEWCHUK:-no}" = "yes" ]; then
- LICFLAG="off"
+ LICFLAG="no"
else
LICFLAG="GPL"
fi
@@ -97,17 +97,22 @@ cd build
-DGMT_DATADIR=share/$SRCNAM \
-DGMT_DOCDIR=doc/$PRGNAM-$VERSION \
-DGMT_MANDIR=man \
- -DGSHHG_ROOT=$PKG/usr/share/$SRCNAM/gshhg \
-DDCW_ROOT=$PKG/usr/share/$SRCNAM/dcw \
+ -DGSHHG_ROOT=$PKG/usr/share/$SRCNAM/gshhg \
-DLICENSE_RESTRICTED=$LICFLAG \
-DCMAKE_BUILD_TYPE=Release ..
- make
+ make all
+ make docs_man
+ make docs_html
make install DESTDIR=$PKG
cd ..
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 LICENSE.TXT README $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 e662f76e0e72..55d5d8a86fb8 100644
--- a/gis/GMT/GMT.info
+++ b/gis/GMT/GMT.info
@@ -1,14 +1,14 @@
PRGNAM="GMT"
-VERSION="5.4.4"
+VERSION="5.4.5"
HOMEPAGE="http://gmt.soest.hawaii.edu/"
-DOWNLOAD="ftp://ftp.soest.hawaii.edu/gmt/gmt-5.4.4-src.tar.gz \
+DOWNLOAD="ftp://ftp.soest.hawaii.edu/gmt/gmt-5.4.5-src.tar.gz \
ftp://ftp.soest.hawaii.edu/gmt/gshhg-gmt-2.3.7.tar.gz \
ftp://ftp.soest.hawaii.edu/gmt/dcw-gmt-1.1.4.tar.gz"
-MD5SUM="4b9b50dc4224902865a40e106c3bde07 \
+MD5SUM="a2e097410f37155d59b030275361ce60 \
8ee2653f9daf84d49fefbf990bbfa1e7 \
4f30857a8b12af0f910222fceb591538"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="gdal netcdf"
+REQUIRES="gdal netcdf Sphinx"
MAINTAINER="Cristiano Urban"
EMAIL="cristiano.urban.slack@gmail.com"