summaryrefslogtreecommitdiffstats
path: root/network/rdma-core/rdma-core.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/rdma-core/rdma-core.SlackBuild')
-rw-r--r--network/rdma-core/rdma-core.SlackBuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/network/rdma-core/rdma-core.SlackBuild b/network/rdma-core/rdma-core.SlackBuild
index 8e5a8624c6..834e4ae362 100644
--- a/network/rdma-core/rdma-core.SlackBuild
+++ b/network/rdma-core/rdma-core.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for rdma-core
-# Copyright 2019 GUAN Xin from Beijing
+# Copyright 2019-2023 GUAN Xin from Beijing
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=rdma-core
-VERSION=${VERSION:-25.0}
+VERSION=${VERSION:-51.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -38,9 +38,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -98,6 +95,9 @@ cd build
make install DESTDIR=$PKG
cd ..
+# Remove systemd stuff
+(cd $PKG/usr/lib && rm -r udev/rules.d/60-srp_daemon.rules systemd)
+
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