diff options
author | Cristiano Urban <cristiano.urban.slack@gmail.com> | 2019-01-09 06:33:33 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2019-01-09 06:33:33 +0700 |
commit | cdd053239aa36a070ce548958fdbf53a7e4acbd5 (patch) | |
tree | a5cc19b0a0c90552fd84de5a8f55d0ec86d08645 /gis/GMT/GMT.SlackBuild | |
parent | f940372408889ba2541d664a5de920cdcd69ec07 (diff) |
gis/GMT: Updated for version 5.4.5.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'gis/GMT/GMT.SlackBuild')
-rw-r--r-- | gis/GMT/GMT.SlackBuild | 13 |
1 files changed, 9 insertions, 4 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 |