From 739c65c54cb0e957df5e9b76f93fb02554e5cac3 Mon Sep 17 00:00:00 2001 From: davidovski Date: Wed, 4 May 2022 23:52:30 +0100 Subject: moved everything to new file formatting --- repo/system/libusb/libusb.xibuild | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 repo/system/libusb/libusb.xibuild (limited to 'repo/system/libusb/libusb.xibuild') diff --git a/repo/system/libusb/libusb.xibuild b/repo/system/libusb/libusb.xibuild new file mode 100644 index 0000000..324b100 --- /dev/null +++ b/repo/system/libusb/libusb.xibuild @@ -0,0 +1,17 @@ +#!/bin/sh + +MAKEDEPS="make" +DEPS="musl 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