CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
findutils: adapted to 64b
[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
3615f3a4 5# Depends on: eudev
6dca1d21
JB
6
7name=libusb
5bdf01a8
VM
8version=1.0.19
9release=1
b9e9f764 10source=(http://downloads.sourceforge.net/project/$name/$name-1.0/$name-$version/$name-$version.tar.bz2)
6dca1d21
JB
11
12build () {
13 cd $name-$version
6daf14e6 14
6dca1d21
JB
15 ./configure --build=$CHOST \
16 --host=$CTARGET \
17 --prefix=/usr
18 make
19 make DESTDIR=$PKG install
6daf14e6
JB
20
21 install -d $PKG/lib
22 mv $PKG/usr/lib/libusb-1.0.so.* $PKG/lib
4f238c45 23 ln -sf ../../lib/$(readlink $PKG/lib/libusb-1.0.so.0) $PKG/usr/lib/libusb-1.0.so
6dca1d21 24}