26 lines
506 B
Plaintext
26 lines
506 B
Plaintext
# Description: Continuous Collision Detection and Physics Library.
|
|
# URL: http://www.bulletphysics.com/
|
|
# Packager: milisarge
|
|
# Depends on: cmake freeglut
|
|
|
|
name=bullet
|
|
version=2.83.4
|
|
release=1
|
|
source=(https://github.com/bulletphysics/bullet3/archive/${version}.tar.gz)
|
|
|
|
build() {
|
|
cd ${name}3-$version
|
|
|
|
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
|
|
|
|
}
|