2017-03-22 08:11:49 +01:00
|
|
|
|
# Description: Sürekli çarpışma algılama ve fizik kütüphanesi.
|
2016-02-24 01:27:23 +01:00
|
|
|
|
# URL: http://www.bulletphysics.com/
|
2017-01-30 23:55:06 +01:00
|
|
|
|
# Packager: milisarge
|
2016-02-24 01:27:23 +01:00
|
|
|
|
# Depends on: cmake freeglut
|
|
|
|
|
|
|
|
|
|
name=bullet
|
2017-05-10 12:54:14 +02:00
|
|
|
|
version=2.86
|
2016-02-24 01:27:23 +01:00
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
}
|