void-packages/srcpkgs/usbredir/template

30 lines
788 B
Bash

# Template file for 'usbredir'
pkgname=usbredir
version=0.7
revision=3
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 <miwaxe@gmail.com>"
license="GPL-2"
homepage="http://spice-space.org"
distfiles="http://spice-space.org/download/${pkgname}/${pkgname}-${version}.tar.bz2"
checksum=0a63a0712b5dc62be9cca44f97270fea5d1ec1fe7dde0c11dc74a01c8e2006aa
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
}
}