2010-05-20 02:04:00 +00:00
|
|
|
require 'formula'
|
2010-11-26 20:52:40 +00:00
|
|
|
require 'hardware'
|
2010-05-20 02:04:00 +00:00
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Pypy < Formula
|
2011-03-18 17:30:47 +00:00
|
|
|
if MacOS.prefer_64_bit?
|
2011-05-01 16:07:45 +00:00
|
|
|
url 'http://pypy.org/download/pypy-1.5-osx64.tar.bz2'
|
|
|
|
md5 'b1417916bc01ebb9f95c666f5e397fb5'
|
|
|
|
version '1.5.0'
|
2010-11-26 20:52:40 +00:00
|
|
|
else
|
2010-12-22 18:32:47 +00:00
|
|
|
url 'http://pypy.org/download/pypy-1.4.1-osx.tar.bz2'
|
|
|
|
md5 '8584c4e8c042f5b661fcfffa0d9b8a25'
|
2011-05-01 16:07:45 +00:00
|
|
|
version '1.4.1'
|
2010-11-26 20:52:40 +00:00
|
|
|
end
|
2010-05-20 02:04:00 +00:00
|
|
|
homepage 'http://pypy.org/'
|
|
|
|
|
|
|
|
def install
|
2011-05-24 11:59:09 +00:00
|
|
|
prefix.install Dir['*']
|
2010-05-20 02:04:00 +00:00
|
|
|
end
|
|
|
|
end
|