Skip to content
This repository
Browse code

Ruby 1.9.1 formula

  • Loading branch information...
commit 13925f99303dc94922cd8ff0d9ea85790c099856 1 parent f1d81cd
Clinton N. Dreisbach authored September 07, 2009 mxcl committed September 14, 2009

Showing 1 changed file with 22 additions and 0 deletions. Show diff stats Hide diff stats

  1. 22  Library/Formula/ruby.rb
22  Library/Formula/ruby.rb
... ...
@@ -0,0 +1,22 @@
  1
+require 'brewkit'
  2
+
  3
+# TODO deversion the include and lib directories
  4
+
  5
+class Ruby <Formula
  6
+  @url='ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-p243.tar.gz'
  7
+  @homepage='http://www.ruby-lang.org'
  8
+  @md5='515bfd965814e718c0943abf3dde5494'
  9
+
  10
+  def install
  11
+    system "./configure", "--prefix=#{prefix}"
  12
+    system "make"
  13
+    system "make install"
  14
+  end
  15
+  
  16
+  def skip_clean? path
  17
+    # TODO only skip the clean for the files that need it, we didn't even get
  18
+    # a comment about why we're skipping the clean, so you'll need to figure
  19
+    # that out too --mxcl
  20
+    true
  21
+  end
  22
+end

0 notes on commit 13925f9

Please sign in to comment.
Something went wrong with that request. Please try again.