mirror of
https://github.com/dslm4515/BMLFS.git
synced 2025-08-15 22:40:32 +00:00
Upgraded libusb from 1.0.27 to 1.0.29
This commit is contained in:
@ -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}/*
|
||||
|
Reference in New Issue
Block a user