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
|
|
|
|
|
|
|
|
|
name=bullet
|
2017-05-10 12:54:14 +02:00
|
|
|
|
version=2.86
|
2016-02-24 01:27:23 +01:00
|
|
|
|
release=1
|
2017-08-17 19:57:44 +02:00
|
|
|
|
source=(https://github.com/bulletphysics/bullet3/archive/${version}.tar.gz::$name-$version.tar.gz)
|
2016-02-24 01:27:23 +01:00
|
|
|
|
|
2017-10-27 23:59:41 +02:00
|
|
|
|
derle() {
|
2016-02-24 01:27:23 +01:00
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
}
|