diff options
Diffstat (limited to 'repo/util/usbutils')
-rw-r--r-- | repo/util/usbutils/usbutils.xibuild | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/repo/util/usbutils/usbutils.xibuild b/repo/util/usbutils/usbutils.xibuild new file mode 100644 index 0000000..9df636f --- /dev/null +++ b/repo/util/usbutils/usbutils.xibuild @@ -0,0 +1,21 @@ +#!/bin/sh + +MAKEDEPS="libusb wget" +DEPS="libusb musl hwdata sbase python" + +PKG_VER=014 +SOURCE=https://www.kernel.org/pub/linux/utils/usb/usbutils/usbutils-$PKG_VER.tar.xz +DESC="A collection of USB tools to query connected USB devices" + +build () { + ./configure --prefix=/usr --datadir=/usr/share/hwdata && + make + +} + +package () { + make DESTDIR=$PKG_DEST install + install -dm755 $PKG_DEST/usr/share/hwdata/ && + wget http://www.linux-usb.org/usb.ids -O $PKG_DEST/usr/share/hwdata/usb.ids + +} |