homebrew-core/Formula/mosml.rb

26 lines
763 B
Ruby
Raw Normal View History

class Mosml < Formula
desc "Moscow ML"
homepage "http://mosml.org"
url "https://github.com/kfl/mosml/archive/ver-2.10.1.tar.gz"
sha256 "fed5393668b88d69475b070999b1fd34e902591345de7f09b236824b92e4a78f"
2015-06-26 02:51:16 +00:00
bottle do
sha256 "3a0289ba1b1a56cf3c2a598ccbee9b1739c7c35628a173dd00bd2f20fead6703" => :yosemite
sha256 "97ba76cf36e165dc798bdae33fc06c7c5954b1293686f43d2781b3130e75a119" => :mavericks
sha256 "846e6c0980ebd5fd968425b51bfa25718feb66c5ff88aaeec7928d7186fb85cf" => :mountain_lion
end
depends_on "gmp"
def install
cd "src" do
system "make", "PREFIX=#{prefix}", "CC=#{ENV.cc}", "world"
system "make", "PREFIX=#{prefix}", "CC=#{ENV.cc}", "install"
end
end
test do
system "#{bin}/mosml", "-P full"
end
end