summaryrefslogtreecommitdiffstats
path: root/usbutils/Pkgfile
blob: c44323e4489e3deb6838f924481908ef3996e835 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# 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=005
release=1
source=(http://mirror.ovh.net/gentoo-distfiles/distfiles/${name}_$version.orig.tar.gz)


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