diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-07-12 21:52:43 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-07-12 21:52:43 +0700 |
commit | eed8e2b1d51cf2f9c0dee4ae8dc689d1e5258828 (patch) | |
tree | 95295d36a1778a63f06c39a6903e680d2adce174 /libraries/hidapi/hidapi.SlackBuild | |
parent | b56677d039adc135740e5f3eee28eef06405d2cd (diff) | |
download | slackbuilds-eed8e2b1d51cf2f9c0dee4ae8dc689d1e5258828.tar.gz |
libraries/hidapi: Updated for version 0.10.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
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 |