CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
util-linux-ng: update to 2.19.1
[crossrootfs.git] / libusb / Pkgfile
CommitLineData
6dca1d21
JB
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
b751b192 4# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
6dca1d21
JB
5
6name=libusb
24c7738c 7version=1.0.8
6dca1d21 8release=1
6daf14e6 9source=(http://dl.sourceforge.net/sourceforge/$name/$name-$version.tar.bz2)
6dca1d21
JB
10
11build () {
12 cd $name-$version
6daf14e6 13
6dca1d21
JB
14 ./configure --build=$CHOST \
15 --host=$CTARGET \
16 --prefix=/usr
17 make
18 make DESTDIR=$PKG install
6daf14e6
JB
19
20 install -d $PKG/lib
21 mv $PKG/usr/lib/libusb-1.0.so.* $PKG/lib
22 ln -sf ../../lib/libusb-1.0.so.0.0.0 $PKG/usr/lib/libusb-1.0.so
6dca1d21 23}