From 31723b3943baa14269be93abcb03e1ffe44a3407 Mon Sep 17 00:00:00 2001 From: davidovski Date: Sun, 6 Feb 2022 14:15:05 +0000 Subject: adde a few extra utilities --- repo/util/usbutils.xibuild | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 repo/util/usbutils.xibuild (limited to 'repo/util/usbutils.xibuild') diff --git a/repo/util/usbutils.xibuild b/repo/util/usbutils.xibuild new file mode 100644 index 0000000..5aefeb4 --- /dev/null +++ b/repo/util/usbutils.xibuild @@ -0,0 +1,21 @@ +#!/bin/bash + +MAKEDEPS=(libusb wget) +DEPS=(libusb glibc hwdata coreutils 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 + +} -- cgit v1.2.1