summaryrefslogtreecommitdiffstats
path: root/usbutils/Pkgfile
blob: 09d8614be0b68d654dcbee0e0a9360e188db8300 (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: libusb
# Run on: libusb

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
}