summaryrefslogtreecommitdiff
path: root/homebrew/zorba/.make.sh-auto
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/zorba/.make.sh-auto')
-rw-r--r--homebrew/zorba/.make.sh-auto10
1 files changed, 10 insertions, 0 deletions
diff --git a/homebrew/zorba/.make.sh-auto b/homebrew/zorba/.make.sh-auto
new file mode 100644
index 000000000..9e6e174ad
--- /dev/null
+++ b/homebrew/zorba/.make.sh-auto
@@ -0,0 +1,10 @@
+pkg:setup
+ENV.append "CXXFLAGS", "-DU_USING_ICU_NAMESPACE=1"
+ENV.cxx11
+args = std_cmake_args
+if MacOS.version == :el_capitan && MacOS::Xcode.version >= "8.0"
+args << "-DZORBA_HAVE_CLOCKGETTIME=OFF"
+end
+mkdir "build" && cd build
+cmake .. *args
+make DESTDIR=${PKG_DEST} install