Skip to content

Instantly share code, notes, and snippets.

@mrcljx
Forked from shtirlic/mono.rb
Last active December 21, 2015 14:09
Show Gist options
  • Save mrcljx/6317482 to your computer and use it in GitHub Desktop.
Save mrcljx/6317482 to your computer and use it in GitHub Desktop.
# 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.1.tar.bz2'
sha1 '7f4f31e03903719e370e7ee94ded376b96bdf6d9'
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