diff options
Diffstat (limited to 'libraries/hidapi/hidapi.SlackBuild')
-rw-r--r-- | libraries/hidapi/hidapi.SlackBuild | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libraries/hidapi/hidapi.SlackBuild b/libraries/hidapi/hidapi.SlackBuild index 25c97ea61f..c24ead4083 100644 --- a/libraries/hidapi/hidapi.SlackBuild +++ b/libraries/hidapi/hidapi.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for hidapi -# Copyright 2015-2019 Willy Sudiarto Raharjo <willysr@slackbuilds.org> +# Copyright 2015-2021 Willy Sudiarto Raharjo <willysr@slackbuilds.org> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=hidapi SRCNAM=hidapi-hidapi -VERSION=${VERSION:-0.8.0_rc1} +VERSION=${VERSION:-0.10.1} SRCVER=$(echo $VERSION | tr _ -) BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -90,6 +90,8 @@ CXXFLAGS="$SLKCFLAGS" \ make make install DESTDIR=$PKG +rm -rf $PKG/usr/lib${LIBDIRSUFFIX}/*.la + 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 |