diff options
Diffstat (limited to 'usbutils/Pkgfile')
-rwxr-xr-x | usbutils/Pkgfile | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/usbutils/Pkgfile b/usbutils/Pkgfile new file mode 100755 index 000000000..09d8614be --- /dev/null +++ b/usbutils/Pkgfile @@ -0,0 +1,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 +} |