diff options
Diffstat (limited to 'source/l/sg3_utils/sg3_utils.SlackBuild')
-rwxr-xr-x | source/l/sg3_utils/sg3_utils.SlackBuild | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/source/l/sg3_utils/sg3_utils.SlackBuild b/source/l/sg3_utils/sg3_utils.SlackBuild index ace8252d..b20db178 100755 --- a/source/l/sg3_utils/sg3_utils.SlackBuild +++ b/source/l/sg3_utils/sg3_utils.SlackBuild @@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=sg3_utils VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} -BUILD=${BUILD:-3} +BUILD=${BUILD:-4} NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "} @@ -106,6 +106,11 @@ make install DESTDIR=$PKG || exit 1 # Don't ship .la files: rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la +# We used to ship "/sbin/rescan-scsi-bus", so make a symlink in case anyone +# is depending on that existing: +mkdir -p $PKG/sbin +( cd $PKG/sbin ; ln -sf ../usr/bin/rescan-scsi-bus.sh rescan-scsi-bus ) + find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true |