summaryrefslogtreecommitdiffstats
path: root/libusb/Pkgfile
blob: 0783ea9bbd29fa0875583820f3703138e3df6668 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
description="Library giving userland programs access to USB devices"
packager=""
maintainer="CRUX System Team, core-ports at crux dot nu"
url="http://libusb.sourceforge.net/"
depends=()

name=libusb
version=1.0.8
release=1
source=(http://downloads.sourceforge.net/project/libusb/libusb-1.0/libusb-1.0.8/libusb-1.0.8.tar.bz2)
build () 
{ 
    cd $name-$version;
    ./configure --prefix=/usr;
    make;
    make DESTDIR=$PKG install;
    install -d $PKG/lib;
    mv $PKG/usr/lib/libusb-1.0.so.* $PKG/lib;
    ln -sf ../../lib/libusb-1.0.so.0.0.0 $PKG/usr/lib/libusb-1.0.so
}