1 # Description: Library giving userland programs access to USB devices
2 # URL: http://libusb.sourceforge.net/
3 # Maintainer: CRUX System Team, core-ports at crux dot nu
4 # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
9 source=(http://downloads.sourceforge.net/project/$name/$name-1.0/$name-$version/$name-$version.tar.bz2)
14 ./configure --build=$CHOST \
18 make DESTDIR=$PKG install
21 mv $PKG/usr/lib/libusb-1.0.so.* $PKG/lib
22 ln -sf ../../lib/$(readlink $PKG/lib/libusb-1.0.so.0) $PKG/usr/lib/libusb-1.0.so