diff options
| author | Markus Groß | 2010-04-18 19:59:07 +0200 |
|---|---|---|
| committer | Adam Vandenberg | 2010-08-15 16:44:13 -0700 |
| commit | 1b4cd4c4b61cfb6d09956d882e8db5c06896b78e (patch) | |
| tree | afb97d1d3a080078b0fbf3243bb542874b9c110d /Library/Formula | |
| parent | a31b3251b1e3eb8f7f821dc6d18b55a3f06b5eb5 (diff) | |
| download | homebrew-1b4cd4c4b61cfb6d09956d882e8db5c06896b78e.tar.bz2 | |
Added formula for rubber
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/rubber.rb | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/Library/Formula/rubber.rb b/Library/Formula/rubber.rb new file mode 100644 index 000000000..8ccfa122b --- /dev/null +++ b/Library/Formula/rubber.rb @@ -0,0 +1,27 @@ +require 'formula' + +class Rubber <Formula + url 'http://launchpad.net/rubber/trunk/1.1/+download/rubber-20100306.tar.gz' + homepage 'https://launchpad.net/rubber/' + md5 'f3e41773853db232630d4a71636b2ba4' + + def patches + # Creates missing .in files and adds them to the configure phase + # otherwise rubber modules are not found after install + "http://gist.github.com/raw/370408/484d76d042e936053de41fbbe48f5dbdbd1b71b8/fix_rubber_configure.patch" + end + + def install + system "./configure", "--prefix=#{prefix}", + "--mandir=#{man}", + "--infodir=#{info}", + "--datadir=#{share}" + system "make" + system "make install" + + # Don't need to peg to a specific Python version + Dir["#{bin}/*"].each do |f| + inreplace f, "#{HOMEBREW_PREFIX}/bin/python", "/usr/bin/env python" + end + end +end |
