diff options
Diffstat (limited to 'gis/GMT/GMT.SlackBuild')
-rw-r--r-- | gis/GMT/GMT.SlackBuild | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/gis/GMT/GMT.SlackBuild b/gis/GMT/GMT.SlackBuild index 4a3e488c25..9d01b55a69 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.5.0} +VERSION=${VERSION:-6.6.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -35,7 +35,7 @@ GSHHG=gshhg GSHHG_VERSION=${GSHHG_VERSION:-2.3.7} DCW=dcw -DCW_VERSION=${DCW_VERSION:-2.1.2} +DCW_VERSION=${DCW_VERSION:-2.2.0} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -118,15 +118,11 @@ 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/usr/doc/GMT-$VERSION -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 -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 LICENSE.TXT README.md $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |