aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilip Weaver2010-05-31 21:23:20 -0700
committerAdam Vandenberg2010-08-10 10:32:13 -0700
commite8fa13dafc6e13200eb176b748c80a6d853960e3 (patch)
treec7fd84ec3180efe62103d15bec6fb93128d494da
parent6958e282b4027038896528431e34faaac5d1a20f (diff)
downloadhomebrew-e8fa13dafc6e13200eb176b748c80a6d853960e3.tar.bz2
polyml formula
Signed-off-by: Adam Vandenberg <flangy@gmail.com> * Don't strip binaries; breaks runtime loading
-rw-r--r--Library/Formula/polyml.rb19
1 files changed, 19 insertions, 0 deletions
diff --git a/Library/Formula/polyml.rb b/Library/Formula/polyml.rb
new file mode 100644
index 000000000..03e11870d
--- /dev/null
+++ b/Library/Formula/polyml.rb
@@ -0,0 +1,19 @@
+require 'formula'
+
+class Polyml <Formula
+ url 'http://downloads.sourceforge.net/project/polyml/polyml/5.3/polyml.5.3.tar.gz'
+ homepage 'http://www.polyml.org'
+ md5 'c4e3a33307c4465c4f068ae4fa225ced'
+
+ # Or dynamic linking breaks
+ skip_clean :all
+
+ def install
+ # for whatever reason, the configure script fails to find c++ if CXX is defined.
+ # this overrides configure so that it won't check for c++ and will assume it exists.
+ ENV["check_cpp"] = "yes"
+ system "./configure", "--disable-dependency-tracking", "--disable-debug",
+ "--prefix=#{prefix}"
+ system "make install"
+ end
+end