aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/pypy.rb
diff options
context:
space:
mode:
authorAku Kotkavuo2010-05-20 05:04:00 +0300
committerAdam Vandenberg2010-05-19 21:55:16 -0700
commit89de8bbe686d4ba94cb4e636b817de77532c3c2a (patch)
treee70522223ec34d9ca8259d1ce3e8cace2a72f39d /Library/Formula/pypy.rb
parentbdb7258fef3ad7cbcbdb6c5436c67d27942f9a20 (diff)
downloadhomebrew-89de8bbe686d4ba94cb4e636b817de77532c3c2a.tar.bz2
New formula: pypy
Signed-off-by: Adam Vandenberg <flangy@gmail.com> * Cleaner install steps
Diffstat (limited to 'Library/Formula/pypy.rb')
-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