summaryrefslogtreecommitdiffstats
path: root/usbutils/Pkgfile
blob: 02af77a276c527f446f035b8dc95506d4ac1dc5d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Description: Utilitaire pci pour liaison USB
# URL: http://downloads.sourceforge.net/linux-usb/
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
# Depends on: libusbx
# Run on: libusbx

name=usbutils
version=006
release=1
source=(http://www.kernel.org/pub/linux/utils/usb/$name/$name-$version.tar.xz)

build() {
	cd $name-$version
	sed "s|/usr/bin/env python|/usr/bin/env python2|" -i lsusb.py
	./configure --prefix=/usr
	make
	make DESTDIR=$PKG install
}