summaryrefslogtreecommitdiffstats
path: root/development/extra-cmake-modules/extra-cmake-modules.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/extra-cmake-modules/extra-cmake-modules.SlackBuild')
-rw-r--r--development/extra-cmake-modules/extra-cmake-modules.SlackBuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/development/extra-cmake-modules/extra-cmake-modules.SlackBuild b/development/extra-cmake-modules/extra-cmake-modules.SlackBuild
index 694c7eeef8..89815ccc56 100644
--- a/development/extra-cmake-modules/extra-cmake-modules.SlackBuild
+++ b/development/extra-cmake-modules/extra-cmake-modules.SlackBuild
@@ -25,7 +25,7 @@
# Adapted by Fellype do Nascimento - fellype(at)gmail.com
PRGNAM=extra-cmake-modules
-VERSION=${VERSION:-5.50.0}
+VERSION=${VERSION:-5.51.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -87,8 +87,10 @@ 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
+if [ $(which sphinx-build 2>/dev/null) ]; then
+ 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
+fi
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a COPYING-CMAKE-SCRIPTS README.rst $PKG/usr/doc/$PRGNAM-$VERSION