libusb: syntax

This commit is contained in:
Tim Biermann 2021-12-13 12:10:25 +01:00
parent 3c0b054492
commit c04b8b2706
Signed by: tb
GPG Key ID: 42F8B4E30B673606
2 changed files with 12 additions and 12 deletions

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/core.pub
RWRJc1FUaeVeqmmRxizz1jRJLeutDBPhp4FP4YSmfvryHE7zN3mar5OnJI2s9fNyO2jgLjv5KzPQhPVqsXOFCXrBxbplbqlT0ws=
SHA256 (Pkgfile) = 68c211b016ca381b2f165f777a604f6b49abf0f90471db72d089d831a4abb64b
RWRJc1FUaeVequbnLAfqYFe4pxK6Hb2evgoH47UcDW2Wsu16chCfXnRhMOM8KSLfdjN38P7vLGCUWdFrBdGv0TqKqvtH7eW55wI=
SHA256 (Pkgfile) = 0e43a79795afb85da2433b47b9c1e824a343abe44b7f2919aa2d3d1ceb425a12
SHA256 (.footprint) = 3785e93a3e0db3d8a9078ab4491a7876f90891976df0466fcd3cec030ae29103
SHA256 (libusb-1.0.24.tar.bz2) = 7efd2685f7b327326dcfb85cee426d9b871fd70e22caa15bb68d595ce2a2b12a

View File

@ -1,7 +1,7 @@
# Description: Library giving userland programs access to USB devices
# URL: https://libusb.info
# Maintainer: CRUX System Team, core-ports at crux dot nu
# Depends on: eudev
# URL: https://libusb.info
# Maintainer: CRUX System Team, core-ports at crux dot nu
# Depends on: eudev
name=libusb
version=1.0.24
@ -9,13 +9,13 @@ release=1
source=(https://github.com/libusb/libusb/releases/download/v$version/$name-$version.tar.bz2)
build () {
cd $name-$version
cd $name-$version
./configure --prefix=/usr
make
make DESTDIR=$PKG install
./configure --prefix=/usr
make
make DESTDIR=$PKG install
install -d $PKG/lib
mv $PKG/usr/lib/libusb-1.0.so.* $PKG/lib
ln -sf ../../lib/$(readlink $PKG/lib/libusb-1.0.so.0) $PKG/usr/lib/libusb-1.0.so
install -d $PKG/lib
mv $PKG/usr/lib/libusb-1.0.so.* $PKG/lib
ln -sf ../../lib/$(readlink $PKG/lib/libusb-1.0.so.0) $PKG/usr/lib/libusb-1.0.so
}