milis/talimatname/genel/bullet/talimat

26 lines
507 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Description: Sürekli çarpışma algılama ve fizik kütüphanesi.
# URL: http://www.bulletphysics.com/
# Packager: milisarge
# Depends on: cmake freeglut
name=bullet
version=2.86
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
}