Upgraded libusb from 1.0.27 to 1.0.29

This commit is contained in:
dslm4515
2025-07-22 17:19:22 -05:00
parent e4999996ad
commit 21f1dafccf

View File

@ -1,7 +1,7 @@
#! /bin/bash
# libusb
# Source: https://github.com/libusb/libusb/releases/download/v1.0.27/libusb-1.0.27.tar.bz2
# Source: https://github.com/libusb/libusb/releases/download/v1.0.29/libusb-1.0.29.tar.bz2
#
# $BUILD = Directory to temporarily install
# $PKGS = Directory to store built packages
@ -19,6 +19,8 @@ export LDFLAGS="-flto=4 -Wl,-O2 -Wl,--as-needed "
sed -i "s/^PROJECT_LOGO/#&/" doc/doxygen.cfg.in &&
export PVER="1.0.29"
./configure --prefix=/usr --disable-static $BUILDTRUPLE &&
read -p "Compile?" && make -j1 &&
@ -47,5 +49,5 @@ libusb:
libusb:
EOF
sudo -S mv -v /tmp/slack-desc install/ &&
sudo -S makepkg -l y -c n $PKGS/libusb-1.0.27-$PSUFFIX &&
sudo -S makepkg -l y -c n $PKGS/libusb-$PVER-$PSUFFIX &&
sudo -S rm -rf ${BUILD}/*