summaryrefslogtreecommitdiff
path: root/homebrew/gmp/.make.sh-auto
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/gmp/.make.sh-auto')
-rw-r--r--homebrew/gmp/.make.sh-auto7
1 files changed, 7 insertions, 0 deletions
diff --git a/homebrew/gmp/.make.sh-auto b/homebrew/gmp/.make.sh-auto
new file mode 100644
index 000000000..4623a660e
--- /dev/null
+++ b/homebrew/gmp/.make.sh-auto
@@ -0,0 +1,7 @@
+pkg:setup
+args = %W[--prefix=#{prefix} --enable-cxx --with-pic]
+args << "--build=#{Hardware.oldest_cpu}-apple-darwin#{`uname -r`.to_i}"
+pkg:configure *args
+make
+make check
+make DESTDIR=${PKG_DEST} install