void-packages/srcpkgs/libspnav/template

28 lines
725 B
Bash

# Template file for 'libspnav'
pkgname=libspnav
version=0.2.3
revision=1
build_style=gnu-configure
configure_args="--disable-opt"
makedepends="libX11-devel"
short_desc="Open source alternative to 3DConnextion drivers"
maintainer="yopito <pierre.bourgin@free.fr>"
license="GPL-3"
homepage="http://spacenav.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/spacenav/${pkgname}-${version}.tar.gz"
checksum=7ae4d7bb7f6a5dda28b487891e01accc856311440f582299760dace6ee5f1f93
do_build() {
make CC="${CC}" AR="${AR}"
}
libspnav-devel_package() {
short_desc+=" - development files"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}