Skip to content

Instantly share code, notes, and snippets.

@MattesGroeger
Created November 15, 2013 11:28
Show Gist options
  • Save MattesGroeger/7482935 to your computer and use it in GitHub Desktop.
Save MattesGroeger/7482935 to your computer and use it in GitHub Desktop.
Homebrew formula for installing mono 3.2.3 Usage: ```brew install https://gist.github.com/MattesGroeger/7482935/raw/a16e695b557c8e8591fbcc549f2d888246ecbb3d/mono.rb```
# http://www.mono-project.com/Compiling_Mono_on_OSX
require 'formula'
class Mono < Formula
url 'http://download.mono-project.com/sources/mono/mono-3.2.3.tar.bz2'
homepage 'http://www.mono-project.com/'
sha1 'e356280ae45beaac6476824d551b094cd12e03b9'
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