summaryrefslogtreecommitdiff
path: root/repo/system/libusb.xibuild
blob: 324b10054b5704fc4e6a0ae62db934634afabbe6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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 
}