summaryrefslogtreecommitdiffstats
path: root/libusb-compat/Pkgfile
blob: 1943cb9184a39d65cd1d8a6dcd4e04bda521d471 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Description: Librairie pour interface USB
# URL: http://libusb.wiki.sourceforge.net/
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
# Depends on: libusbx
# Run on: libusbx

name=libusb-compat
version=0.1.4
release=1
source=(http://sourceforge.net/projects/libusb/files/$name-0.1/$name-$version/$name-$version.tar.bz2
	libusb-0.1-libusbx.patch)

build() {
	cd $name-$version
	patch -p0 < ../libusb-0.1-libusbx.patch
	./configure --prefix=/usr
	make
	make DESTDIR=$PKG install
}