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-02-16 18:09:54 +00:00
|
|
|
url 'http://downloads.sourceforge.net/project/polyml/polyml/5.5/polyml.5.5.tar.gz'
|
|
|
|
sha1 '9b308d3ac69316d1fcb0f6ac5f9b9e2d2390d511'
|
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}"
|
2013-02-16 18:09:54 +00:00
|
|
|
system "make"
|
2010-06-01 04:23:20 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|