forked from ports/compat-32
23 lines
486 B
Plaintext
23 lines
486 B
Plaintext
# Description: Library giving userland programs access to USB devices
|
|
# URL: https://libusb.info/
|
|
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
|
|
# Depends on: eudev-32 libusb
|
|
|
|
name=libusb-32
|
|
version=1.0.27
|
|
release=1
|
|
source=(https://github.com/libusb/libusb/releases/download/v$version/${name%-*}-$version.tar.bz2)
|
|
|
|
build() {
|
|
cd ${name%-*}-$version
|
|
|
|
./configure \
|
|
--prefix=/usr \
|
|
--libdir=/usr/lib32
|
|
|
|
make
|
|
make DESTDIR=$PKG install
|
|
|
|
rm -r $PKG/usr/include
|
|
}
|