Skip to content

Instantly share code, notes, and snippets.

@bassam
Created May 21, 2013 23:42
Show Gist options
  • Save bassam/5624184 to your computer and use it in GitHub Desktop.
Save bassam/5624184 to your computer and use it in GitHub Desktop.
Build mono from git HEAD on OSX using home brew
# http://www.mono-project.com/Compiling_Mono_on_OSX
require 'formula'
class Mono < Formula
homepage 'http://www.mono-project.com/'
head 'git://github.com/mono/mono.git', :using => :git
depends_on 'automake'
depends_on 'autoconf'
depends_on 'libtool'
def install
args = ["--prefix=#{prefix}",
"--with-glib=embedded",
"--enable-nls=no"]
args << "--host=x86_64-apple-darwin10" if MacOS.prefer_64_bit?
system "./autogen.sh", *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