diff options
author | Cristiano Urban <cristiano.urban.slack@gmail.com> | 2024-04-02 23:26:10 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-04-03 01:40:28 +0700 |
commit | 9fdd29d34685bf6f55ead9cb4b337a9de50658bf (patch) | |
tree | f8ee25cad7fcc34de84f412d1cc04e4debfc1d5b /gis/GMT | |
parent | 43f38f510160f01418bedd0b25b273ae1073d36c (diff) |
gis/GMT: Updated for version 6.5.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'gis/GMT')
-rw-r--r-- | gis/GMT/GMT.SlackBuild | 12 | ||||
-rw-r--r-- | gis/GMT/GMT.info | 8 | ||||
-rw-r--r-- | gis/GMT/README | 3 |
3 files changed, 15 insertions, 8 deletions
diff --git a/gis/GMT/GMT.SlackBuild b/gis/GMT/GMT.SlackBuild index 6e93a55818ffd..b6b7a68a77abd 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.4.0} +VERSION=${VERSION:-6.5.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -115,11 +115,15 @@ cd build -DLICENSE_RESTRICTED=$LICFLAG \ -DCMAKE_BUILD_TYPE=Release .. make all - make docs_man - make docs_html make install DESTDIR=$PKG 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 -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true @@ -127,7 +131,7 @@ 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 INSTALL.md LICENSE.TXT README.md $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 mkdir -p $PKG/install diff --git a/gis/GMT/GMT.info b/gis/GMT/GMT.info index 340a20579dc0f..e79c42595dddc 100644 --- a/gis/GMT/GMT.info +++ b/gis/GMT/GMT.info @@ -1,14 +1,14 @@ PRGNAM="GMT" -VERSION="6.4.0" +VERSION="6.5.0" HOMEPAGE="https://www.generic-mapping-tools.org/" -DOWNLOAD="https://github.com/GenericMappingTools/gmt/releases/download/6.4.0/gmt-6.4.0-src.tar.gz \ +DOWNLOAD="https://github.com/GenericMappingTools/gmt/releases/download/6.5.0/gmt-6.5.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="4fe162932425feff35b01107b9b427b9 \ +MD5SUM="a03e8d73f73c3804d78a42a3d5fc3dc7 \ 8ee2653f9daf84d49fefbf990bbfa1e7 \ b9375db7042963c7649e4f62a81df796" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="gdal netcdf Sphinx" +REQUIRES="gdal" MAINTAINER="Cristiano Urban" EMAIL="cristiano.urban.slack@gmail.com" diff --git a/gis/GMT/README b/gis/GMT/README index ab4d83c30a671..9146b35d9d5db 100644 --- a/gis/GMT/README +++ b/gis/GMT/README @@ -25,5 +25,8 @@ Other optional dependencies are: blas lapack +Modules documentation can be accessed via the "gmt docs <module_name>" +command (e.g. gmt docs psxy). + For more details refer to the README.md and LICENSE.TXT files contained into the GMT sources. |