libraries/hidapi: Updated for version 0.10.1.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Willy Sudiarto Raharjo 2021-07-12 21:52:43 +07:00
parent b56677d039
commit eed8e2b1d5
3 changed files with 9 additions and 7 deletions

View file

@ -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

View file

@ -1,8 +1,8 @@
PRGNAM="hidapi"
VERSION="0.8.0_rc1"
HOMEPAGE="https://github.com/signal11/hidapi/"
DOWNLOAD="https://github.com/signal11/hidapi/archive/hidapi-0.8.0-rc1.tar.gz"
MD5SUM="069f9dd746edc37b6b6d0e3656f47199"
VERSION="0.10.1"
HOMEPAGE="https://github.com/libusb/hidapi/"
DOWNLOAD="https://github.com/libusb/hidapi/archive/refs/tags/hidapi-0.10.1.tar.gz"
MD5SUM="12dd792b3dbdfd5c875c3d8b0527cb79"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""

View file

@ -13,7 +13,7 @@ hidapi: devices on Linux, Mac, and Windows.
hidapi:
hidapi:
hidapi:
hidapi: Project URL: https://github.com/signal11/hidapi/
hidapi: Project URL: https://github.com/libusb/hidapi/
hidapi:
hidapi:
hidapi: