void-packages/srcpkgs/bullet/template

32 lines
895 B
Bash
Raw Normal View History

2014-05-18 16:33:55 +02:00
# Template file for 'bullet'
pkgname=bullet
2015-08-05 11:14:15 +02:00
version=2.83.5
revision=1
wrksrc="bullet3-${version}"
2014-05-18 16:33:55 +02:00
build_style=cmake
configure_args="-DBUILD_SHARED_LIBS=1 -DBUILD_DEMOS=0 -DBUILD_MULTITHREADING=1
-DBUILD_EXTRAS=1 -DINSTLAL_LIBS=1 -DINSTALL_EXTRA_LIBS=1"
hostmakedepends="cmake"
2015-08-05 11:14:15 +02:00
makedepends="glu-devel"
2014-05-18 16:33:55 +02:00
short_desc="A 3D Collision Detection and Rigid Body Dynamics Library"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
2014-05-18 16:33:55 +02:00
license="zlib"
homepage="http://www.bulletphysics.com/Bullet/"
2015-08-05 11:14:15 +02:00
distfiles="https://github.com/bulletphysics/bullet3/archive/${version}.tar.gz"
checksum=df6d58898d3d3bf117854dd64467dbd09625e048624c797649b46bf1c595b152
2014-05-18 16:33:55 +02:00
post_install() {
2015-08-05 11:14:15 +02:00
vlicense LICENSE.txt
2014-05-18 16:33:55 +02:00
}
bullet-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
vmove usr/lib/pkgconfig
vmove usr/lib/cmake
}
}