2014-05-18 14:33:55 +00:00
|
|
|
# Template file for 'bullet'
|
|
|
|
pkgname=bullet
|
2015-08-16 07:30:22 +00:00
|
|
|
version=2.83.6
|
2015-08-05 09:14:15 +00:00
|
|
|
revision=1
|
|
|
|
wrksrc="bullet3-${version}"
|
2014-05-18 14:33:55 +00: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 09:14:15 +00:00
|
|
|
makedepends="glu-devel"
|
2014-05-18 14:33:55 +00:00
|
|
|
short_desc="A 3D Collision Detection and Rigid Body Dynamics Library"
|
2015-04-10 07:16:30 +00:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2014-05-18 14:33:55 +00:00
|
|
|
license="zlib"
|
|
|
|
homepage="http://www.bulletphysics.com/Bullet/"
|
2015-08-05 09:14:15 +00:00
|
|
|
distfiles="https://github.com/bulletphysics/bullet3/archive/${version}.tar.gz"
|
2015-08-16 07:30:22 +00:00
|
|
|
checksum=dcd5448f31ded71c7bd22fddd7d816ac590ae7b97e1fdda8d1253f8ff3655571
|
2014-05-18 14:33:55 +00:00
|
|
|
|
|
|
|
post_install() {
|
2015-08-05 09:14:15 +00:00
|
|
|
vlicense LICENSE.txt
|
2014-05-18 14:33:55 +00: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
|
|
|
|
}
|
|
|
|
}
|