void-packages/srcpkgs/usbredir/template
2015-11-03 07:38:22 +01:00

29 lines
790 B
Bash

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