summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan F. Chadima <jfch@jagda.eu>2020-05-11 16:53:02 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-05-16 08:44:09 +0700
commit79a7a488253166af1f403d64facddb52ad49332c (patch)
tree86278518b928130493524d50846d828edc3a58ac
parent902cf75e3fb1a725de1e0b1d6f4781a2e0785290 (diff)
downloadslackbuilds-79a7a488253166af1f403d64facddb52ad49332c.tar.gz
libraries/libqb: Updated for version 2.0.0.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--libraries/libqb/libqb.SlackBuild7
-rw-r--r--libraries/libqb/libqb.info6
2 files changed, 8 insertions, 5 deletions
diff --git a/libraries/libqb/libqb.SlackBuild b/libraries/libqb/libqb.SlackBuild
index 5f74f868f1..3d014894f2 100644
--- a/libraries/libqb/libqb.SlackBuild
+++ b/libraries/libqb/libqb.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for libqb
-# Copyright 2019 Jan F. Chadima <jfch@jagda.eu>
+# Copyright 2019-2020 Jan F. Chadima <jfch@jagda.eu>
# 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=libqb
-VERSION=${VERSION:-1.0.5}
+VERSION=${VERSION:-2.0.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -86,6 +86,9 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
+#remove unnecessary stuff
+rm -rf $PKG/usr/bin $PKG/usr/man/man1
+
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
diff --git a/libraries/libqb/libqb.info b/libraries/libqb/libqb.info
index e1cded63a6..519c01a8d2 100644
--- a/libraries/libqb/libqb.info
+++ b/libraries/libqb/libqb.info
@@ -1,8 +1,8 @@
PRGNAM="libqb"
-VERSION="1.0.5"
+VERSION="2.0.0"
HOMEPAGE="https://github.com/ClusterLabs/libqb"
-DOWNLOAD="https://github.com/ClusterLabs/libqb/releases/download/v1.0.5/libqb-1.0.5.tar.gz"
-MD5SUM="1495874e4a16e6e785885d7d69c26c45"
+DOWNLOAD="https://github.com/ClusterLabs/libqb/releases/download/v2.0.0/libqb-2.0.0.tar.gz"
+MD5SUM="861761df624d8f575f8010c58f52f9e5"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="check"