void-packages/srcpkgs/usbredir/template
2021-06-09 10:15:02 +02:00

26 lines
852 B
Bash

# Template file for 'usbredir'
pkgname=usbredir
version=0.10.0
revision=1
wrksrc=${pkgname}-${pkgname}-${version}
build_style=meson
configure_args="--sbindir=/usr/bin -Ddefault_library=both"
hostmakedepends="pkg-config"
makedepends="libusb-devel glib-devel"
short_desc="USB traffic redirection protocol"
maintainer="Andrea Brancaleoni <abc@pompel.me>"
license="GPL-2.0-or-later"
homepage="https://spice-space.org"
distfiles="https://gitlab.freedesktop.org/spice/usbredir/-/archive/usbredir-${version}/usbredir-usbredir-${version}.tar.bz2"
checksum=10143222c3ab3333252b546954cd3ee14bebe657c4e94e07ddef7071007cb7d1
usbredir-devel_package() {
depends="${makedepends} ${sourcepkg}-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
}
}