diff options
Diffstat (limited to 'repo/libusb/libusb.xibuild')
-rw-r--r-- | repo/libusb/libusb.xibuild | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/repo/libusb/libusb.xibuild b/repo/libusb/libusb.xibuild new file mode 100644 index 0000000..324b100 --- /dev/null +++ b/repo/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 +} |