summaryrefslogtreecommitdiff
path: root/repo/system/libusb.xibuild
blob: 5587090594930cd1f006a08c10426df72d56d1b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh

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 
}