void-packages/srcpkgs/usbredir/template
2018-08-08 12:59:41 +02:00

29 lines
787 B
Bash

# Template file for 'usbredir'
pkgname=usbredir
version=0.8.0
revision=1
build_style=gnu-configure
configure_args="--sbindir=/usr/bin"
hostmakedepends="automake libtool pkg-config"
makedepends="libusb-devel"
short_desc="USB traffic redirection protocol"
maintainer="Andrea Brancaleoni <abc@pompel.me>"
license="GPL-2"
homepage="http://spice-space.org"
distfiles="http://spice-space.org/download/${pkgname}/${pkgname}-${version}.tar.bz2"
checksum=87bc9c5a81c982517a1bec70dc8d22e15ae197847643d58f20c0ced3c38c5e00
pre_configure() {
autoreconf -fi
}
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
}
}