void-packages/srcpkgs/libspnav/template

28 lines
741 B
Bash

# Template file for 'libspnav'
pkgname=libspnav
version=1.1
revision=1
build_style=gnu-configure
makedepends="libX11-devel"
short_desc="Open source alternative to 3DConnextion drivers"
maintainer="yopito <pierre.bourgin@free.fr>"
license="BSD-3-Clause"
homepage="http://spacenav.sourceforge.net/"
distfiles="https://github.com/FreeSpacenav/libspnav/archive/refs/tags/v${version}.tar.gz"
checksum=04b297f68a10db4fa40edf68d7f823ba7b9d0442f2b665181889abe2cea42759
post_install() {
vlicense LICENSE
}
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"
vmove usr/share/pkgconfig
}
}