32 lines
795 B
Bash
32 lines
795 B
Bash
# Template file for 'libspnav'
|
|
pkgname=libspnav
|
|
version=1.0
|
|
revision=2
|
|
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="BSD-3-Clause"
|
|
homepage="http://spacenav.sourceforge.net/"
|
|
distfiles="${SOURCEFORGE_SITE}/spacenav/${pkgname}-${version}.tar.gz"
|
|
checksum=8849b7f7826d750f6956cf8f4f53937f2359ab6da97d6c834c71d5f771212e7c
|
|
|
|
do_build() {
|
|
make CC="${CC}" AR="${AR}"
|
|
}
|
|
|
|
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
|
|
}
|
|
}
|