summaryrefslogtreecommitdiff
path: root/development/kcov
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2022-02-16 19:47:48 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-02-17 12:59:51 +0700
commitdb0ad18c493f4c154d25dff1ff04c207dc08f241 (patch)
treead25af1d7420b72be0b0ba144f9ad56713feb21f /development/kcov
parenta29351ea79e20b27aba0fe3695aa50252864b27c (diff)
downloadslackbuilds-db0ad18c493f4c154d25dff1ff04c207dc08f241.tar.gz
development/kcov: Updated for version 40.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/kcov')
-rw-r--r--development/kcov/kcov.SlackBuild9
-rw-r--r--development/kcov/kcov.info6
2 files changed, 6 insertions, 9 deletions
diff --git a/development/kcov/kcov.SlackBuild b/development/kcov/kcov.SlackBuild
index c0c035f101..cc0c721a7c 100644
--- a/development/kcov/kcov.SlackBuild
+++ b/development/kcov/kcov.SlackBuild
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=kcov
-VERSION=${VERSION:-32}
+VERSION=${VERSION:-40}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -86,16 +86,13 @@ cd build
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_SUFFIX=${LIBDIRSUFFIX} \
- -DMAN_INSTALL_DIR=/usr/man \
+ -DKCOV_INSTALL_MANDIR=/usr/man \
+ -DKCOV_INSTALL_DOCDIR=/usr/doc/$PRGNAM-$VERSION \
-DCMAKE_BUILD_TYPE=Release ..
make
make install/strip DESTDIR=$PKG
cd ..
-# fix since -DMAN_INSTALL_DIR is ignored
-mv $PKG/usr/share/man $PKG/usr/man
-rmdir $PKG/usr/share
-
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
diff --git a/development/kcov/kcov.info b/development/kcov/kcov.info
index a1d06cd586..34f1c14777 100644
--- a/development/kcov/kcov.info
+++ b/development/kcov/kcov.info
@@ -1,8 +1,8 @@
PRGNAM="kcov"
-VERSION="32"
+VERSION="40"
HOMEPAGE="https://simonkagstrom.github.io/kcov/"
-DOWNLOAD="https://github.com/SimonKagstrom/kcov/archive/v32/kcov-32.tar.gz"
-MD5SUM="52d5f089c3081426aad7ab4eb69ccaa0"
+DOWNLOAD="https://github.com/SimonKagstrom/kcov/archive/v40/kcov-40.tar.gz"
+MD5SUM="5fcc9d299beb0ff52bf780f189b14500"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""