# Description: pciutils-like utilities for USB
# URL:         https://github.com/gregkh/usbutils
# Maintainer:  CRUX System Team, core-ports at crux dot nu
# Depends on:  eudev libusb

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

build() {
    cd $name-$version
    ./configure --prefix=/usr --disable-zlib
    make
    make DESTDIR=$PKG install
    unxz -c $SRC/usb.ids.xz > $PKG/usr/share/usb.ids
}