22 lines
605 B
Plaintext
22 lines
605 B
Plaintext
# Description: Library giving userland programs access to USB devices
|
|
# URL: http://libusb.info
|
|
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
|
# Depends on: eudev
|
|
|
|
name=libusb
|
|
version=1.0.21
|
|
release=1
|
|
source=(http://downloads.sourceforge.net/project/$name/$name-1.0/$name-${version%-*}/$name-$version.tar.bz2)
|
|
|
|
build () {
|
|
cd $name-$version
|
|
|
|
./configure --prefix=/usr
|
|
make -j1
|
|
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
|
|
}
|