2010-06-01 04:23:20 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Polyml < Formula
|
2010-06-01 04:23:20 +00:00
|
|
|
homepage 'http://www.polyml.org'
|
2013-01-28 05:45:08 +00:00
|
|
|
url 'http://downloads.sourceforge.net/project/polyml/polyml/5.3/polyml.5.3.tar.gz'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 'a037cd8cf4ce4a43b685b0e0d80f3f1e20d7c9fa'
|
2010-06-01 04:23:20 +00:00
|
|
|
|
|
|
|
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
|