Created
September 10, 2014 17:26
-
-
Save kfl/136b155cc459687875d1 to your computer and use it in GitHub Desktop.
Moscow ML homebrew formula
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require "formula" | |
class Mosml < Formula | |
homepage "http://mosml.org" | |
url "https://github.com/kfl/mosml/archive/ver-2.10.1.tar.gz" | |
sha1 "e53fa82074d1c60499dc4ca83521c229e0655ccc" | |
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 "mosml", "-P full" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment