summaryrefslogtreecommitdiff
path: root/homebrew/thrift/.make.sh-auto
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/thrift/.make.sh-auto')
-rw-r--r--homebrew/thrift/.make.sh-auto11
1 files changed, 11 insertions, 0 deletions
diff --git a/homebrew/thrift/.make.sh-auto b/homebrew/thrift/.make.sh-auto
new file mode 100644
index 000000000..1783de27d
--- /dev/null
+++ b/homebrew/thrift/.make.sh-auto
@@ -0,0 +1,11 @@
+pkg:setup
+./bootstrap.sh unless build.stable?
+args = %W[--disable-debug --disable-tests --prefix=#{prefix} --libdir=#{lib} --with-openssl=#{Formula["openssl"].opt_prefix} --without-erlang --without-haskell --without-java --without-perl --without-php --without-php_extension --without-python --without-ruby ]
+ENV.cxx11 if ENV.compiler == :clang
+ENV["PY_PREFIX"] = prefix
+ENV["PHP_PREFIX"] = prefix
+ENV["JAVA_PREFIX"] = buildpath
+pkg:configure *args
+ENV.deparallelize
+make
+make DESTDIR=${PKG_DEST} install