New package: bullet-2.82.
This commit is contained in:
parent
301bbd4107
commit
feff5905c9
|
@ -0,0 +1 @@
|
|||
bullet
|
|
@ -0,0 +1,11 @@
|
|||
prefix=/usr
|
||||
exec_prefix=${prefix}
|
||||
libdir=${exec_prefix}/lib
|
||||
includedir=${prefix}/include
|
||||
|
||||
Name: bullet
|
||||
Description: Bullet Continuous Collision Detection and Physics Library
|
||||
Requires:
|
||||
Version: VERSION
|
||||
Libs: -L${libdir} -lBulletDynamics -lBulletCollision -lLinearMath -lBulletSoftBody
|
||||
Cflags: -I${includedir}/bullet
|
|
@ -0,0 +1,34 @@
|
|||
# Template file for 'bullet'
|
||||
pkgname=bullet
|
||||
_distver=2.82
|
||||
_revver=r2704
|
||||
version="${_distver}${_revver}"
|
||||
wrksrc="${pkgname}-${_distver}-${_revver}"
|
||||
revision=1
|
||||
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"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
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
|
||||
vinstall BulletLicense.txt 644 usr/share/licenses/${pkgname} LICENSE
|
||||
}
|
||||
|
||||
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
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue