cc39b5c3ee
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
19 lines
438 B
Ruby
19 lines
438 B
Ruby
require 'formula'
|
|
require 'hardware'
|
|
|
|
class Pypy < Formula
|
|
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
|
|
homepage 'http://pypy.org/'
|
|
|
|
def install
|
|
prefix.install Dir['*']
|
|
end
|
|
end
|