summaryrefslogtreecommitdiffstats
path: root/libraries/libqb/libqb.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/libqb/libqb.SlackBuild')
-rw-r--r--libraries/libqb/libqb.SlackBuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/libraries/libqb/libqb.SlackBuild b/libraries/libqb/libqb.SlackBuild
index 1e80aa846d..3d014894f2 100644
--- a/libraries/libqb/libqb.SlackBuild
+++ b/libraries/libqb/libqb.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for libqb
-# Copyright 2017 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.2}
+VERSION=${VERSION:-2.0.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -80,11 +80,15 @@ CXXFLAGS="$SLKCFLAGS" \
--localstatedir=/var \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
+ --disable-static \
--build=$ARCH-slackware-linux
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