summaryrefslogtreecommitdiff
path: root/source/l/keyutils
diff options
context:
space:
mode:
authorPatrick J Volkerding <volkerdi@slackware.com>2019-11-25 19:17:07 +0000
committerEric Hameleers <alien@slackware.com>2019-11-26 17:59:50 +0100
commit9b6fab2c3603408615a3a733985c7a7002cebfa1 (patch)
tree2edb9c5e8731d68eee090d781cb1220f79596469 /source/l/keyutils
parent54b0c6f26341d57f621aaa67a6618f7831a4308d (diff)
downloadcurrent-9b6fab2c3603408615a3a733985c7a7002cebfa1.tar.gz
Mon Nov 25 19:17:07 UTC 201920191125191707
e/emacs-26.3-x86_64-3.txz: Rebuilt. Compiled adding --with-modules option. Thanks to cycojesus. l/keyutils-1.6-x86_64-2.txz: Rebuilt. Move pkgconfig directory to /usr/lib${LIBDIRSUFFIX}. Don't package the static library. Thanks to Stanson. l/librsvg-2.46.4-x86_64-1.txz: Upgraded. l/xapian-core-1.4.14-x86_64-1.txz: Upgraded. n/NetworkManager-1.20.8-x86_64-1.txz: Upgraded. n/postfix-3.4.8-x86_64-1.txz: Upgraded.
Diffstat (limited to 'source/l/keyutils')
-rwxr-xr-xsource/l/keyutils/keyutils.SlackBuild8
1 files changed, 7 insertions, 1 deletions
diff --git a/source/l/keyutils/keyutils.SlackBuild b/source/l/keyutils/keyutils.SlackBuild
index 87e18f20..6a12d7c3 100755
--- a/source/l/keyutils/keyutils.SlackBuild
+++ b/source/l/keyutils/keyutils.SlackBuild
@@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=keyutils
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -91,6 +91,12 @@ find . \
make LIBDIR=/lib${LIBDIRSUFFIX} USRLIBDIR=/usr/lib${LIBDIRSUFFIX} MANDIR=/usr/man $NUMJOBS || make || exit 1
make install LIBDIR=/lib${LIBDIRSUFFIX} USRLIBDIR=/usr/lib${LIBDIRSUFFIX} MANDIR=/usr/man DESTDIR=$PKG || exit 1
+# Move the pkgconfig directory to /usr/lib${LIBDIRSUFFIX}:
+mv $PKG/lib${LIBDIRSUFFIX}/pkgconfig $PKG/usr/lib${LIBDIRSUFFIX} || exit 1
+
+# Don't package the static library:
+rm -f $PKG/usr/lib${LIBDIRSUFFIX}/*.a
+
# Strip binaries:
( cd $PKG
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null