2006-02-23 18:19:35 +01:00
|
|
|
# Description: Library giving userland programs access to USB devices
|
|
|
|
# URL: http://libusb.sourceforge.net/
|
2008-05-07 22:50:28 +02:00
|
|
|
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
2006-02-23 18:19:35 +01:00
|
|
|
|
|
|
|
name=libusb
|
2009-06-13 22:30:31 +02:00
|
|
|
version=1.0.2
|
2009-08-04 14:11:47 +02:00
|
|
|
release=3
|
2009-05-13 21:00:42 +02:00
|
|
|
source=(http://dl.sourceforge.net/sourceforge/$name/$name-$version.tar.bz2)
|
2006-02-23 18:19:35 +01:00
|
|
|
|
|
|
|
build () {
|
|
|
|
cd $name-$version
|
2009-05-13 21:00:42 +02:00
|
|
|
|
2006-03-05 11:35:50 +01:00
|
|
|
./configure --prefix=/usr
|
2006-02-23 18:19:35 +01:00
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
2009-05-13 21:00:42 +02:00
|
|
|
|
|
|
|
install -d $PKG/lib
|
2009-07-15 15:49:40 +02:00
|
|
|
mv $PKG/usr/lib/libusb-1.0.so.* $PKG/lib
|
2009-08-04 14:11:47 +02:00
|
|
|
ln -sf ../../lib/libusb-1.0.so.0.0.0 $PKG/usr/lib/libusb-1.0.so
|
2006-02-23 18:19:35 +01:00
|
|
|
}
|