summaryrefslogtreecommitdiff
path: root/homebrew/bullet/.make.sh-auto
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/bullet/.make.sh-auto')
-rw-r--r--homebrew/bullet/.make.sh-auto8
1 files changed, 8 insertions, 0 deletions
diff --git a/homebrew/bullet/.make.sh-auto b/homebrew/bullet/.make.sh-auto
new file mode 100644
index 000000000..35f34aeda
--- /dev/null
+++ b/homebrew/bullet/.make.sh-auto
@@ -0,0 +1,8 @@
+pkg:setup
+args = std_cmake_args + %W[-DBUILD_BULLET2_DEMOS=OFF -DBUILD_PYBULLET=OFF -DBUILD_UNIT_TESTS=OFF -DCMAKE_INSTALL_RPATH=#{lib} -DINSTALL_EXTRA_LIBS=ON ]
+mkdir "build" && cd build
+cmake .. *args -DBUILD_SHARED_LIBS=ON
+make DESTDIR=${PKG_DEST} install
+make clean
+cmake .. *args -DBUILD_SHARED_LIBS=OFF
+make DESTDIR=${PKG_DEST} install