aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/ruby.rb
diff options
context:
space:
mode:
authorClinton R. Nixon2009-09-07 00:08:00 -0400
committerMax Howell2009-09-14 20:33:46 +0100
commit13925f99303dc94922cd8ff0d9ea85790c099856 (patch)
tree51a1019d53ec5d09b30de07ef10a95a8872df4cc /Library/Formula/ruby.rb
parentf1d81cdb484e9b7fc8f762e858191e6f554814f8 (diff)
downloadhomebrew-13925f99303dc94922cd8ff0d9ea85790c099856.tar.bz2
Ruby 1.9.1 formula
Diffstat (limited to 'Library/Formula/ruby.rb')
-rw-r--r--Library/Formula/ruby.rb22
1 files changed, 22 insertions, 0 deletions
diff --git a/Library/Formula/ruby.rb b/Library/Formula/ruby.rb
new file mode 100644
index 000000000..7ae26e327
--- /dev/null
+++ b/Library/Formula/ruby.rb
@@ -0,0 +1,22 @@
+require 'brewkit'
+
+# TODO deversion the include and lib directories
+
+class Ruby <Formula
+ @url='ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-p243.tar.gz'
+ @homepage='http://www.ruby-lang.org'
+ @md5='515bfd965814e718c0943abf3dde5494'
+
+ def install
+ system "./configure", "--prefix=#{prefix}"
+ system "make"
+ system "make install"
+ end
+
+ def skip_clean? path
+ # TODO only skip the clean for the files that need it, we didn't even get
+ # a comment about why we're skipping the clean, so you'll need to figure
+ # that out too --mxcl
+ true
+ end
+end