2014-05-18 14:33:55 +00:00
|
|
|
# Template file for 'bullet'
|
|
|
|
pkgname=bullet
|
|
|
|
_distver=2.82
|
|
|
|
_revver=r2704
|
|
|
|
version="${_distver}${_revver}"
|
|
|
|
wrksrc="${pkgname}-${_distver}-${_revver}"
|
2015-03-07 06:15:28 +00:00
|
|
|
revision=3
|
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"
|
|
|
|
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/"
|
|
|
|
distfiles="http://bullet.googlecode.com/files/${pkgname}-${_distver}-${_revver}.tgz"
|
|
|
|
checksum=67e4c9eb76f7adf99501d726d8ad5e9b525dfd0843fbce9ca73aaca4ba9eced2
|
|
|
|
|
|
|
|
post_install() {
|
|
|
|
vmkdir usr/lib/pkgconfig
|
|
|
|
sed "s|VERSION|${version}|g" ${FILESDIR}/bullet.pc > ${DESTDIR}/usr/lib/pkgconfig/bullet.pc
|
2014-12-18 20:05:57 +00:00
|
|
|
vlicense BulletLicense.txt LICENSE
|
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
|
|
|
|
}
|
|
|
|
}
|