diff options
| author | Thomas Johansen | 2014-05-14 20:38:33 +0200 |
|---|---|---|
| committer | Adam Vandenberg | 2014-05-16 12:46:05 -0700 |
| commit | 66ab97a2a0f6cfdef0d5010a22b87c87baadec21 (patch) | |
| tree | b35af5f15b7ce5a8c1b9373521255330fa7565f0 /Library/Formula | |
| parent | 6c46283d4e0eb6a59f8cea3a8e0c11c0a13d1bfc (diff) | |
| download | homebrew-66ab97a2a0f6cfdef0d5010a22b87c87baadec21.tar.bz2 | |
Mono 3.4.0
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/mono.rb | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/Library/Formula/mono.rb b/Library/Formula/mono.rb index 0d4f32b8c..54c7ac7c1 100644 --- a/Library/Formula/mono.rb +++ b/Library/Formula/mono.rb @@ -2,18 +2,22 @@ require "formula" class Mono < Formula homepage "http://www.mono-project.com/" - url "http://download.mono-project.com/sources/mono/mono-3.2.8.tar.bz2" - sha1 "d58403caec82af414507cefa58ce74bbb792985a" + url "http://download.mono-project.com/sources/mono/mono-3.4.0.tar.bz2" + sha1 "bae86f50f9a29d68d4e1917358996e7186e7f89e" bottle do - sha1 "24b6d8979f74a645f6c9e479cd37c175f146f428" => :mavericks - sha1 "f64f94d411755ae039244bb47862c5f8196acf10" => :mountain_lion - sha1 "c2b73e639254287efc5a88ef9d07bf08d12b4d37" => :lion end resource "monolite" do url "http://storage.bos.xamarin.com/mono-dist-master/latest/monolite-111-latest.tar.gz" - sha1 "7f6715b8e569b6e7ad85c207311f145f688b3cf5" + sha1 "827865b61f310b12f33b38ff94d8f781a6a52427" + end + + # This file is missing in the 3.4.0 tarball as of 2014-05-14... + # See https://bugzilla.xamarin.com/show_bug.cgi?id=18690 + resource "Microsoft.Portable.Common.targets" do + url "https://raw.githubusercontent.com/mono/mono/mono-3.4.0/mcs/tools/xbuild/targets/Microsoft.Portable.Common.targets" + sha1 "7624c3f6d1e4867da2e217ba0d1595a224971e27" end # help mono find its MonoPosixHelper lib when it is not in a system path @@ -36,6 +40,10 @@ class Mono < Formula system "./configure", *args system "make" + + # TODO: Remove once the updated 3.4.0 tarball gets built. + (buildpath+"mcs/tools/xbuild/targets").install resource("Microsoft.Portable.Common.targets") + system "make", "install" # mono-gdb.py and mono-sgen-gdb.py are meant to be loaded by gdb, not to be # run directly, so we move them out of bin |
