homebrew-core/Formula/pypy.rb
Adam Vandenberg fb5977f181 Add "require hardware" to formula.rb
Now individual formulae don't need to require this if they want to use
Hardware methods outside of `def install`.
2012-02-25 15:22:32 -08:00

19 lines
420 B
Ruby

require 'formula'
class Pypy < Formula
homepage 'http://pypy.org/'
if MacOS.prefer_64_bit?
url 'https://bitbucket.org/pypy/pypy/downloads/pypy-1.8-osx64.tar.bz2'
md5 '1c293253e8e4df411c3dd59dff82a663'
version '1.8'
else
url 'http://pypy.org/download/pypy-1.4.1-osx.tar.bz2'
md5 '8584c4e8c042f5b661fcfffa0d9b8a25'
version '1.4.1'
end
def install
prefix.install Dir['*']
end
end