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, crux-arm at mikeux dot dyndns dot org
9 source=(http://dl.sourceforge.net/sourceforge/$name/$name-$version.tar.gz)
13 ./configure --build=$CHOST \
17 make DESTDIR=$PKG install
20 local file libfiles=$PKG/usr/lib/lib*-*.so.*.*.*
21 for file in $libfiles; do
23 ln -sf ../../lib/${file##*/} $PKG/usr/lib/${file##*/}
25 /sbin/ldconfig -nN $PKG/lib