summaryrefslogtreecommitdiff
path: root/homebrew/geant4/.make.sh-auto
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/geant4/.make.sh-auto')
-rw-r--r--homebrew/geant4/.make.sh-auto5
1 files changed, 5 insertions, 0 deletions
diff --git a/homebrew/geant4/.make.sh-auto b/homebrew/geant4/.make.sh-auto
new file mode 100644
index 000000000..f4ebada9b
--- /dev/null
+++ b/homebrew/geant4/.make.sh-auto
@@ -0,0 +1,5 @@
+pkg:setup
+mkdir "geant-build" && cd geant-build
+args = std_cmake_args + %w[../ -DGEANT4_USE_GDML=ON -DGEANT4_BUILD_MULTITHREADED=ON -DGEANT4_USE_QT=ON ]
+cmake *args
+make DESTDIR=${PKG_DEST} install