2017-10-27 20:46:27 +02:00
|
|
|
|
# Tanım: 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-10-27 20:46:27 +02:00
|
|
|
|
# Paketçi: milisarge
|
|
|
|
|
# Gerekler: cmake freeglut
|
2016-02-24 01:27:23 +01:00
|
|
|
|
|
2017-10-28 14:10:23 +02:00
|
|
|
|
isim=bullet
|
|
|
|
|
surum=2.86
|
|
|
|
|
devir=1
|
|
|
|
|
kaynak=(https://github.com/bulletphysics/bullet3/archive/${surum}.tar.gz::$isim-$surum.tar.gz)
|
2016-02-24 01:27:23 +01:00
|
|
|
|
|
2017-10-27 23:59:41 +02:00
|
|
|
|
derle() {
|
2017-10-28 14:10:23 +02:00
|
|
|
|
cd ${isim}3-$surum
|
2016-02-24 01:27:23 +01:00
|
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
}
|