summaryrefslogtreecommitdiff
path: root/gis/GMT/GMT.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'gis/GMT/GMT.SlackBuild')
-rw-r--r--gis/GMT/GMT.SlackBuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/gis/GMT/GMT.SlackBuild b/gis/GMT/GMT.SlackBuild
index a91b1f713f..042f30be80 100644
--- a/gis/GMT/GMT.SlackBuild
+++ b/gis/GMT/GMT.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=GMT
SRCNAM=gmt
-VERSION=${VERSION:-5.4.5}
+VERSION=${VERSION:-6.0.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -97,8 +97,10 @@ cd build
-DGMT_DATADIR=share/$SRCNAM \
-DGMT_DOCDIR=doc/$PRGNAM-$VERSION \
-DGMT_MANDIR=man \
- -DDCW_ROOT=$PKG/usr/share/$SRCNAM/dcw \
-DGSHHG_ROOT=$PKG/usr/share/$SRCNAM/gshhg \
+ -DDCW_ROOT=$PKG/usr/share/$SRCNAM/dcw \
+ -DCOPY_GSHHG=true \
+ -DCOPY_DCW=true \
-DLICENSE_RESTRICTED=$LICFLAG \
-DCMAKE_BUILD_TYPE=Release ..
make all
@@ -114,7 +116,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 LICENSE.TXT README $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a BUILDING.md INSTALL.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