description="Compatibility library for libusb 1.0" packager="" maintainer="CRUX System Team, core-ports at crux dot nu" url="http://libusb.sourceforge.net/" depends=(libusb) name=libusb-compat version=0.1.3 release=2 source=(http://downloads.sourceforge.net/project/libusb/libusb-compat-0.1/libusb-compat-0.1.3/libusb-compat-0.1.3.tar.bz2) build () { cd $name-$version; ./configure --prefix=/usr; make; make DESTDIR=$PKG install; install -d $PKG/lib; mv $PKG/usr/lib/libusb*.so.* $PKG/lib; ln -sf ../../lib/libusb-0.1.so.4.4.4 $PKG/usr/lib/libusb.so }