diff options
author | davidovski <david@davidovski.xyz> | 2022-05-31 11:05:19 +0100 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-05-31 11:05:19 +0100 |
commit | 48ca75555522716f0f686dcae3dd6cf3d8ad714d (patch) | |
tree | 00c0f58550ba4661e87376f2f02c8001c69bae44 /repo/usbutils/usbutils.xibuild | |
parent | 871b2b573f01c1b3176a0f65458b3d281b41c437 (diff) |
removed idea of repos
Diffstat (limited to 'repo/usbutils/usbutils.xibuild')
-rw-r--r-- | repo/usbutils/usbutils.xibuild | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/repo/usbutils/usbutils.xibuild b/repo/usbutils/usbutils.xibuild new file mode 100644 index 0000000..1e744f5 --- /dev/null +++ b/repo/usbutils/usbutils.xibuild @@ -0,0 +1,21 @@ +#!/bin/sh + +MAKEDEPS="libusb wget" +DEPS="libusb musl hwids 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 + +} |