aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Library/Formula/pypy.rb14
1 files changed, 14 insertions, 0 deletions
diff --git a/Library/Formula/pypy.rb b/Library/Formula/pypy.rb
new file mode 100644
index 000000000..8d12c5cd0
--- /dev/null
+++ b/Library/Formula/pypy.rb
@@ -0,0 +1,14 @@
+require 'formula'
+
+class Pypy <Formula
+ url 'http://pypy.org/download/pypy-1.2-osx.tar.bz2'
+ homepage 'http://pypy.org/'
+ md5 'b5f693d7add487c5c5c16c0603fc1e5f'
+ version '1.2'
+
+ def install
+ prefix.install 'bin'
+ # See: http://pypy.org/download.html#installing
+ (share+"pypy-#{version}").install ["lib-python", "pypy"]
+ end
+end