2015-04-20 16:12:21 +00:00

27 lines
534 B
Plaintext

# Description: Continuous Collision Detection and Physics Library.
# URL: http://www.bulletphysics.com/
# Maintainer: nwe, niklas at allow dot se
# Depends on: cmake freeglut
name=bullet
version=2.82
sversion=$version-r2704
release=1
source=(http://bullet.googlecode.com/files/$name-$sversion.tgz)
build() {
cd $name-$sversion
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DBUILD_SHARED_LIBS=ON \
-DBUILD_CPU_DEMOS=OFF \
-DBUILD_DEMOS=OFF \
-DINSTALL_LIBS=ON \
-DINSTALL_EXTRA_LIBS=ON .
make
make DESTDIR=$PKG install
}