Created
May 21, 2013 23:42
-
-
Save bassam/5624184 to your computer and use it in GitHub Desktop.
Build mono from git HEAD on OSX using home brew
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
# 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