summaryrefslogtreecommitdiff
path: root/repo/usbredir/usbredir.xibuild
blob: 9e87d9b9fe035684140a15038ad50a78cbb6fc56 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/sh

NAME="usbredir"
DESC="USB network redirection protocol libraries"

MAKEDEPS="libusb meson glib"

PKG_VER=0.12.0
SOURCE="https://www.spice-space.org/download/usbredir/usbredir-$PKG_VER.tar.xz"

build() {
	meson --prefix=/usr \
        . output
	meson compile ${JOBS:+-j ${JOBS}} -C output
}

check() {
	meson test --no-rebuild -v -C output
}

package() {
	DESTDIR="$PKG_DEST" meson install --no-rebuild -C output
}