Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Ruby 1.9.1 formula

  • Loading branch information...
commit 13925f99303dc94922cd8ff0d9ea85790c099856 1 parent f1d81cd
Clinton N. Dreisbach cndreisbach authored mxcl committed
Showing with 22 additions and 0 deletions.
  1. +22 −0 Library/Formula/ruby.rb
22 Library/Formula/ruby.rb
View
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.