summaryrefslogtreecommitdiff
path: root/source/l/libnl/libnl.SlackBuild
diff options
context:
space:
mode:
authorPatrick J Volkerding <volkerdi@slackware.com>2020-03-06 22:10:25 +0000
committerEric Hameleers <alien@slackware.com>2020-03-07 08:59:47 +0100
commitc3c6055e70c7aaed88e440700ffd200acb6d2e30 (patch)
tree2a9361c3b95add6c68d29aecae92a6af79ceb9c4 /source/l/libnl/libnl.SlackBuild
parentd6198f3d53a5c2a33681cec675c3ebc7a4a7fa66 (diff)
downloadcurrent-c3c6055e70c7aaed88e440700ffd200acb6d2e30.tar.gz
Fri Mar 6 22:10:25 UTC 202020200306221025
a/cryptsetup-2.3.0-x86_64-2.txz: Rebuilt. Include some additional documentation. Thanks to regdub. a/sdparm-1.11-x86_64-1.txz: Upgraded. ap/moc-2.5.2-x86_64-6.txz: Rebuilt. Fixed docs permissions. Thanks to regdub. l/glib-networking-2.64.0-x86_64-1.txz: Upgraded. l/glib2-2.64.0-x86_64-1.txz: Upgraded. l/gvfs-1.44.0-x86_64-1.txz: Upgraded. l/libnl-1.1.4-x86_64-3.txz: Rebuilt. Fixed docs permissions. Thanks to regdub. l/tdb-1.4.3-x86_64-3.txz: Rebuilt. Fixed docs permissions. Thanks to regdub. l/tevent-0.10.2-x86_64-3.txz: Rebuilt. Fixed docs permissions. Thanks to regdub. n/bind-9.16.0-x86_64-3.txz: Rebuilt. Applied upstream patch to fix a discrepancy in the quota code that can result in a situation where the count is not properly decremented in some cases. n/dovecot-2.3.10-x86_64-1.txz: Upgraded. n/rp-pppoe-3.13-x86_64-2.txz: Rebuilt. This needed a rebuild for ppp-2.4.8. Thanks to regdub. x/libinput-1.15.3-x86_64-1.txz: Upgraded. testing/packages/PAM/dovecot-2.3.10-x86_64-1_pam.txz: Upgraded.
Diffstat (limited to 'source/l/libnl/libnl.SlackBuild')
-rwxr-xr-xsource/l/libnl/libnl.SlackBuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/source/l/libnl/libnl.SlackBuild b/source/l/libnl/libnl.SlackBuild
index f2daa2bf..8e66a155 100755
--- a/source/l/libnl/libnl.SlackBuild
+++ b/source/l/libnl/libnl.SlackBuild
@@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=libnl
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -91,6 +91,9 @@ CFLAGS="$SLKCFLAGS" \
make $NUMJOBS || make || exit 1
make install DESTDIR=$PKG || exit 1
+# No static libraries:
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.a
+
chmod 755 $PKG/usr/lib${LIBDIRSUFFIX}/libnl*
find $PKG | xargs file | grep -e "executable" -e "shared object" \
@@ -100,10 +103,10 @@ mkdir -p $PKG/usr/doc/$PKGNAM-$VERSION
cp -a \
COPYING* README* \
$PKG/usr/doc/$PKGNAM-$VERSION
+chmod 644 $PKG/usr/doc/$PKGNAM-$VERSION/*
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
/sbin/makepkg -l y -c n $TMP/$PKGNAM-$VERSION-$ARCH-$BUILD.txz
-