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