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/system/libusb.xibuild | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 repo/system/libusb.xibuild (limited to 'repo/system/libusb.xibuild') 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 +} -- cgit v1.2.1