Skip to content

Instantly share code, notes, and snippets.

@shtirlic
Last active May 21, 2017 16:55
Show Gist options
  • Star 9 You must be signed in to star a gist
  • Fork 21 You must be signed in to fork a gist
  • Save shtirlic/4696903 to your computer and use it in GitHub Desktop.
Save shtirlic/4696903 to your computer and use it in GitHub Desktop.
Latest mono formula for homebrew
# http://www.mono-project.com/Compiling_Mono_on_OSX
require 'formula'
class Mono < Formula
#url 'http://download.mono-project.com/sources/mono/mono-3.0.6.tar.bz2'
#sha1 'e2187f80366fcd65c55a1ab946f8d3b39e81be77'
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