summaryrefslogtreecommitdiffstats
path: root/base/libusb/Pkgfile.1
blob: bd6e72dcbd7b1b2b53c52bc013ee81ab083f650c (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
# URL:         http://libusb.sourceforge.net/
# Maintainer:  CRUX System Team, core-ports at crux dot nu

name=libusb
version=1.0.6
release=1
source=(http://dl.sourceforge.net/sourceforge/$name/$name-$version.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
}