blob: b6a212a5e716d274af2c7c2b0e68893766a34df7 (
plain)
1 # Description: Library giving userland programs access to USB devices
2 # URL: https://libusb.info/
3 # Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
4 # Depends on: eudev-32 libusb
5
6 name=libusb-32
7 version=1.0.25
8 release=1
9 source=(https://github.com/libusb/libusb/releases/download/v$version/${name%-*}-$version.tar.bz2)
10
11 build() {
12 cd ${name%-*}-$version
13
14 ./configure \
15 --prefix=/usr \
16 --libdir=/usr/lib32
17
18 make
19 make DESTDIR=$PKG install
20
21 rm -r $PKG/usr/include
22 }
|