diff options
| author | Jannis Leidel | 2011-09-07 18:28:00 +0200 |
|---|---|---|
| committer | Max Howell | 2011-09-08 10:25:43 +0100 |
| commit | 39bd75734a642d705b1610d6e7fd59d80c41f250 (patch) | |
| tree | 14f1fe8995f41a38b2966fb4714cd984c0b4e4e6 /Library/Formula | |
| parent | 434e8d5aa939e8c81e7640e3ae0da555214be4a5 (diff) | |
| download | homebrew-39bd75734a642d705b1610d6e7fd59d80c41f250.tar.bz2 | |
Added gsutil formula.
Closes #7484.
Signed-off-by: Max Howell <max@methylblue.com>
Added some comments about it being a pure-python formula which would usually be against our policies.
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/gsutil.rb | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/Library/Formula/gsutil.rb b/Library/Formula/gsutil.rb new file mode 100644 index 000000000..8adf89bb9 --- /dev/null +++ b/Library/Formula/gsutil.rb @@ -0,0 +1,23 @@ +require 'formula' + +# This is a pure Python formula, but Google suck and won't provide it in PYPI. +# So fearlessly we elect to maintain the formula. References: +# https://github.com/mxcl/homebrew/pull/7484 +# https://github.com/mxcl/homebrew/issues/2560 + +class Gsutil < Formula + url 'http://gsutil.googlecode.com/files/gsutil_09-06-2011.tar.gz' + homepage 'http://code.google.com/p/gsutil/' + md5 'cbb5f16e50bc72df0d9aefa4ebdd08db' + version '09-06-2011' + + def install + libexec.install Dir["*"] + bin.mkpath + ln_s libexec+'gsutil', bin+'gsutil' + end + + def test + system "#{bin}/gsutil" + end +end |
