aboutsummaryrefslogtreecommitdiff
path: root/development/cmake-202x/cmake-202x.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/cmake-202x/cmake-202x.SlackBuild')
-rw-r--r--development/cmake-202x/cmake-202x.SlackBuild10
1 files changed, 8 insertions, 2 deletions
diff --git a/development/cmake-202x/cmake-202x.SlackBuild b/development/cmake-202x/cmake-202x.SlackBuild
index a24fff57778cf..c2dcced3e1c12 100644
--- a/development/cmake-202x/cmake-202x.SlackBuild
+++ b/development/cmake-202x/cmake-202x.SlackBuild
@@ -20,9 +20,11 @@
# it's from -current (therefore subject to change), I mirrored the
# version I'm using on slackware.uk.
+# 20201108 bkw: updated for 3.18.4, put version number in manpages URL.
+
PRGNAM=cmake-202x
SRCNAM=cmake
-VERSION=${VERSION:-3.18.2}
+VERSION=${VERSION:-3.18.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -95,7 +97,11 @@ make install/strip DESTDIR=$PKG
# To avoid a dependency on Sphinx (which has *26 dependencies* of its own),
# use Pat's prebuilt man pages.
-tar xvf $CWD/cmake.manpages.tar.lz
+MAN=$CWD/$SRCNAM.manpages.tar.lz
+MANV=$CWD/$SRCNAM.manpages.$VERSION.tar.lz
+[ -e "$MANV" ] && MAN="$MANV"
+
+tar xvf $MAN
mv usr/man $PKGPREFIX/man
gzip -9 $PKGPREFIX/man/man?/*.?