2014-05-18 16:33:55 +02:00
|
|
|
# Template file for 'bullet'
|
|
|
|
pkgname=bullet
|
2016-01-14 09:22:34 +01:00
|
|
|
version=2.83.7
|
|
|
|
revision=1
|
2015-08-05 11:14:15 +02:00
|
|
|
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"
|
2015-04-10 09:16:30 +02:00
|
|
|
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"
|
2016-01-14 09:22:34 +01:00
|
|
|
checksum=00d1d8f206ee85ffd171643ac8e72f9f4e0bf6dbf3d4ac55f4495cb168b51243
|
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
|
|
|
|
}
|
|
|
|
}
|