31 lines
895 B
Bash
31 lines
895 B
Bash
# Template file for 'bullet'
|
|
pkgname=bullet
|
|
version=2.83.6
|
|
revision=1
|
|
wrksrc="bullet3-${version}"
|
|
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"
|
|
makedepends="glu-devel"
|
|
short_desc="A 3D Collision Detection and Rigid Body Dynamics Library"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
license="zlib"
|
|
homepage="http://www.bulletphysics.com/Bullet/"
|
|
distfiles="https://github.com/bulletphysics/bullet3/archive/${version}.tar.gz"
|
|
checksum=dcd5448f31ded71c7bd22fddd7d816ac590ae7b97e1fdda8d1253f8ff3655571
|
|
|
|
post_install() {
|
|
vlicense LICENSE.txt
|
|
}
|
|
|
|
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
|
|
}
|
|
}
|