homebrew-core/Formula/gsutil.rb
Jannis Leidel 9622dc97c7 Added gsutil formula.
Closes Homebrew/homebrew#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.
2011-09-08 10:25:43 +01:00

23 lines
608 B
Ruby

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