Skip to content

Instantly share code, notes, and snippets.

@pallih
Forked from shtirlic/mono.rb
Last active December 31, 2015 14:59
Show Gist options
  • Save pallih/8003645 to your computer and use it in GitHub Desktop.
Save pallih/8003645 to your computer and use it in GitHub Desktop.
# http://www.mono-project.com/Compiling_Mono_on_OSX
# Version 3.2.5
require 'formula'
class Mono < Formula
url 'http://download.mono-project.com/sources/mono/mono-3.2.5.tar.bz2'
sha1 '1cd0bc34835f6e2fa48e03178324ee92a9ca91cb'
#url 'http://download.mono-project.com/sources/mono/mono-2.10.9.tar.bz2'
#sha1 '1a6e8c5a0c3d88d87982259aa04402e028a283de'
homepage 'http://www.mono-project.com/'
def install
args = ["--prefix=#{prefix}",
"--with-glib=embedded",
"--enable-nls=no"]
#args << "--host=x86_64-apple-darwin10" if MacOS.prefer_64_bit?
system "./configure", *args
system "make"
system "make install"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment