summaryrefslogtreecommitdiff
path: root/repo/system/libusb.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-02-06 14:15:05 +0000
committerdavidovski <david@davidovski.xyz>2022-02-06 14:15:05 +0000
commit31723b3943baa14269be93abcb03e1ffe44a3407 (patch)
treeb47e2094372b4c15a57220bfb1d70cdf87ed1eee /repo/system/libusb.xibuild
parent16fc77be18cd3bdd4f6a9af86b9857663894f522 (diff)
adde a few extra utilities
Diffstat (limited to 'repo/system/libusb.xibuild')
-rw-r--r--repo/system/libusb.xibuild17
1 files changed, 17 insertions, 0 deletions
diff --git a/repo/system/libusb.xibuild b/repo/system/libusb.xibuild
new file mode 100644
index 0000000..764341c
--- /dev/null
+++ b/repo/system/libusb.xibuild
@@ -0,0 +1,17 @@
+#!/bin/bash
+
+MAKEDEPS=(make)
+DEPS=(glibc eudev)
+
+PKG_VER=1.0.25
+SOURCE=https://github.com/libusb/libusb/releases/download/v$PKG_VER/libusb-$PKG_VER.tar.bz2
+DESC="Library that provides generic access to USB devices"
+
+build () {
+ ./configure --prefix=/usr --disable-static &&
+ make
+}
+
+package () {
+ make DESTDIR=$PKG_DEST install
+}