mirror of
https://github.com/Ponce/slackbuilds
synced 2024-09-28 03:20:39 +02:00
gis/GMT: Updated for version 6.5.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
43f38f5101
commit
9fdd29d346
3 changed files with 15 additions and 8 deletions
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue