aboutsummaryrefslogtreecommitdiff
path: root/libraries/libversion
diff options
context:
space:
mode:
authorBenjamin Trigona-Harany <slackbuilds@jaxartes.net>2021-01-02 10:01:23 -0800
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-01-09 14:30:42 +0700
commit0ca04090dceacf6dcd466b121d92b016f9f472f6 (patch)
tree291e5a9c84cb6daf6045dd2cc423dc25ba75becb /libraries/libversion
parentc4306ec7f1e6a0d8a2fca8ae05c1270a02b87038 (diff)
libraries/libversion: Updated for version 3.0.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/libversion')
-rw-r--r--libraries/libversion/libversion.SlackBuild8
-rw-r--r--libraries/libversion/libversion.info8
2 files changed, 8 insertions, 8 deletions
diff --git a/libraries/libversion/libversion.SlackBuild b/libraries/libversion/libversion.SlackBuild
index a1353ac193e0..968e972d4224 100644
--- a/libraries/libversion/libversion.SlackBuild
+++ b/libraries/libversion/libversion.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for libversion
-# Copyright 2017-2019 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
+# Copyright 2017-2021 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=libversion
-VERSION=${VERSION:-2.9.1}
+VERSION=${VERSION:-3.0.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -71,7 +71,7 @@ find -L . \
mkdir -p build
cd build
- cmake \
+ /opt/cmake-202x/bin/cmake \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release ..
@@ -88,7 +88,7 @@ fi
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- CHANGES.md COPYING README.md TODO.md \
+ CHANGES.md COPYING README.md \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/libraries/libversion/libversion.info b/libraries/libversion/libversion.info
index 60fbb16516c3..de91cb7bc0cf 100644
--- a/libraries/libversion/libversion.info
+++ b/libraries/libversion/libversion.info
@@ -1,10 +1,10 @@
PRGNAM="libversion"
-VERSION="2.9.1"
+VERSION="3.0.1"
HOMEPAGE="https://github.com/repology/libversion"
-DOWNLOAD="https://github.com/repology/libversion/archive/2.9.1/libversion-2.9.1.tar.gz"
-MD5SUM="8c23275bc0e57b7958a696d533266f8b"
+DOWNLOAD="https://github.com/repology/libversion/archive/3.0.1/libversion-3.0.1.tar.gz"
+MD5SUM="b519c52e6fe6a59138d9182aff437b1b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
+REQUIRES="cmake-202x"
MAINTAINER="Benjamin Trigona-Harany"
EMAIL="slackbuilds@jaxartes.net"