diff options
Diffstat (limited to 'usbutils')
-rw-r--r-- | usbutils/.footprint.i686 | 4 | ||||
-rw-r--r-- | usbutils/.footprint.x86_64 | 4 | ||||
-rw-r--r-- | usbutils/.md5sum.i686 | 2 | ||||
-rw-r--r-- | usbutils/.md5sum.x86_64 | 2 | ||||
-rwxr-xr-x | usbutils/Pkgfile | 22 | ||||
-rw-r--r-- | usbutils/post-install | 2 |
6 files changed, 21 insertions, 15 deletions
diff --git a/usbutils/.footprint.i686 b/usbutils/.footprint.i686 index 6624bd11b..6ac9edc9e 100644 --- a/usbutils/.footprint.i686 +++ b/usbutils/.footprint.i686 @@ -1,8 +1,10 @@ drwxr-xr-x root/root usr/ drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/lsusb +-rwxr-xr-x root/root usr/bin/lsusb.py -rwxr-xr-x root/root usr/bin/usb-devices +-rwxr-xr-x root/root usr/bin/usbhid-dump drwxr-xr-x root/root usr/sbin/ --rwxr-xr-x root/root usr/sbin/lsusb -rwxr-xr-x root/root usr/sbin/update-usbids.sh drwxr-xr-x root/root usr/share/ drwxr-xr-x root/root usr/share/man/ diff --git a/usbutils/.footprint.x86_64 b/usbutils/.footprint.x86_64 index 6624bd11b..6ac9edc9e 100644 --- a/usbutils/.footprint.x86_64 +++ b/usbutils/.footprint.x86_64 @@ -1,8 +1,10 @@ drwxr-xr-x root/root usr/ drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/lsusb +-rwxr-xr-x root/root usr/bin/lsusb.py -rwxr-xr-x root/root usr/bin/usb-devices +-rwxr-xr-x root/root usr/bin/usbhid-dump drwxr-xr-x root/root usr/sbin/ --rwxr-xr-x root/root usr/sbin/lsusb -rwxr-xr-x root/root usr/sbin/update-usbids.sh drwxr-xr-x root/root usr/share/ drwxr-xr-x root/root usr/share/man/ diff --git a/usbutils/.md5sum.i686 b/usbutils/.md5sum.i686 index ce944ef69..9b8f72a51 100644 --- a/usbutils/.md5sum.i686 +++ b/usbutils/.md5sum.i686 @@ -1 +1 @@ -34979f675d2bcb3e1b45012fa830a53f usbutils-0.86.tar.gz +2e990265d472e2f6f0662356d654683b usbutils_005.orig.tar.gz diff --git a/usbutils/.md5sum.x86_64 b/usbutils/.md5sum.x86_64 index ce944ef69..9b8f72a51 100644 --- a/usbutils/.md5sum.x86_64 +++ b/usbutils/.md5sum.x86_64 @@ -1 +1 @@ -34979f675d2bcb3e1b45012fa830a53f usbutils-0.86.tar.gz +2e990265d472e2f6f0662356d654683b usbutils_005.orig.tar.gz diff --git a/usbutils/Pkgfile b/usbutils/Pkgfile index 3964d2baa..09d8614be 100755 --- a/usbutils/Pkgfile +++ b/usbutils/Pkgfile @@ -2,21 +2,21 @@ # URL: http://downloads.sourceforge.net/linux-usb/ # Maintainer: NuTyX core team # Packager: thierryn1 at hispeed dot ch -# Depends on: libusb-compat -# Run on: libusb-compat +# Depends on: libusb +# Run on: libusb name=usbutils -version=0.86 +version=005 release=1 -source=(http://www.kernel.org/pub/linux/utils/usb/usbutils/$name-$version.tar.gz) - +source=(http://mirror.ovh.net/gentoo-distfiles/distfiles/${name}_$version.orig.tar.gz) build() { - # build package - cd $name-$version - ./configure --prefix=/usr --disable-zlib - make - make DESTDIR=$PKG install + 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 } - diff --git a/usbutils/post-install b/usbutils/post-install new file mode 100644 index 000000000..95748a8b4 --- /dev/null +++ b/usbutils/post-install @@ -0,0 +1,2 @@ +#!/bin/sh +/usr/sbin/update-usbids.sh |