diff options
| author | Mike McQuaid | 2014-04-15 13:18:18 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2014-04-23 12:27:24 +0100 |
| commit | 2ccefdc1ce22937ecb54369850e83d9f3619d47b (patch) | |
| tree | c41268b52244d6b25b55b9bf9112b5869b03eb98 /Library/Formula | |
| parent | 5a7df98afb4a6a3d1c70ba9acf68df14c3ce8b0f (diff) | |
| download | homebrew-2ccefdc1ce22937ecb54369850e83d9f3619d47b.tar.bz2 | |
Migrate apple-gcc42 back to homebrew/versions.
Closes #28418.
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/apple-gcc42.rb | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/Library/Formula/apple-gcc42.rb b/Library/Formula/apple-gcc42.rb deleted file mode 100644 index cbcc0ad91..000000000 --- a/Library/Formula/apple-gcc42.rb +++ /dev/null @@ -1,46 +0,0 @@ -require 'formula' - -class AppleGcc42 < Formula - homepage 'http://r.research.att.com/tools/' - url 'http://r.research.att.com/tools/gcc-42-5666.3-darwin11.pkg' - mirror 'http://web.archive.org/web/20130512150329/http://r.research.att.com/tools/gcc-42-5666.3-darwin11.pkg' - version '4.2.1-5666.3' - sha1 '8fadde2a159082d6474fe9e325b6301e3c0bc84f' - - bottle do - cellar :any - revision 2 - sha1 'b1a3f8e2dd3d34bf9a978c3d6a0a4e73879caf18' => :mavericks - sha1 'eb6940a80de4e0ab1d65f1729ee08f09e96d58e0' => :mountain_lion - sha1 '7b6d895482b11885fd993f423d51ce7e91d017ab' => :lion - end - - option 'with-gfortran-symlink', 'Provide gfortran symlinks' - - depends_on :macos => :lion - - def install - system "/bin/pax", "--insecure", "-rz", "-f", "usr.pkg/Payload", "-s", ",./usr,#{prefix}," - - if build.with? "gfortran-symlink" - safe_system "ln -sf #{bin}/gfortran-4.2 #{bin}/gfortran" - safe_system "ln -sf #{man1}/gfortran-4.2.1 #{man1}/gfortran.1" - end - end - - def caveats - <<-EOS.undent - NOTE: - This formula provides components that were removed from XCode in the 4.2 - release. There is no reason to install this formula if you are using a - version of XCode prior to 4.2. - - This formula contains compilers built from Apple's GCC sources, build - 5666.3, available from: - - http://opensource.apple.com/tarballs/gcc - - All compilers have a `-4.2` suffix. A GFortran compiler is also included. - EOS - end -end |
