23 lines
561 B
Plaintext
23 lines
561 B
Plaintext
# Description: Compatibility library for libusb 1.0
|
|
# URL: https://libusb.info
|
|
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
|
# Depends on: libusb
|
|
|
|
name=libusb-compat
|
|
version=0.1.8
|
|
release=1
|
|
source=(https://github.com/libusb/libusb-compat-0.1/releases/download/v$version/libusb-compat-$version.tar.bz2)
|
|
|
|
build () {
|
|
cd $name-$version
|
|
|
|
./autogen.sh
|
|
./configure --prefix=/usr
|
|
make
|
|
make DESTDIR=$PKG install
|
|
|
|
install -d $PKG/lib
|
|
mv $PKG/usr/lib/libusb*.so.* $PKG/lib
|
|
ln -sf ../../lib/$(readlink $PKG/lib/libusb-0.1.so.4) $PKG/usr/lib/libusb.so
|
|
}
|