This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

apple-gcc42: use sha1, style nits

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
  • Loading branch information...
jacknagel committed Sep 4, 2012
1 parent 40193ce commit 09821aabd80eddaa2503b964c763a989ad648418
Showing with 4 additions and 8 deletions.
  1. +4 −8 apple-gcc42.rb
View
@@ -15,20 +15,16 @@ def stage
class AppleGcc42 < Formula
homepage 'http://r.research.att.com/tools/'
- url 'http://r.research.att.com/tools/gcc-42-5666.3-darwin11.pkg'
- md5 '3ccf46da27aaba17706b420711fb997e'
+ url 'http://r.research.att.com/tools/gcc-42-5666.3-darwin11.pkg',
+ :using => PkgDownloadStrategy
version '4.2.1-5666.3'
-
-
- def download_strategy
- PkgDownloadStrategy
- end
+ sha1 '8fadde2a159082d6474fe9e325b6301e3c0bc84f'
# Don't strip compiler binaries.
skip_clean :all
def install
- unless MacOS.lion?
+ unless MacOS.version >= :lion
onoe <<-EOS.undent
The compilers provided by this formula are designed for use on systems
running OS X 10.7.

0 comments on commit 09821aa

Please sign in to comment.