2006-02-23 17:19:35 +00: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 17:19:35 +00:00
|
|
|
|
|
|
|
name=libusb
|
2012-04-21 10:48:33 +02:00
|
|
|
version=1.0.9
|
2009-08-28 11:25:29 +02:00
|
|
|
release=1
|
2010-09-28 10:51:32 +02:00
|
|
|
source=(http://downloads.sourceforge.net/project/$name/$name-1.0/$name-$version/$name-$version.tar.bz2)
|
2006-02-23 17:19:35 +00:00
|
|
|
|
|
|
|
build () {
|
|
|
|
cd $name-$version
|
2009-05-13 21:00:42 +02:00
|
|
|
|
2006-03-05 10:35:50 +00:00
|
|
|
./configure --prefix=/usr
|
2006-02-23 17:19:35 +00: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 17:19:35 +00:00
|
|
|
}
|