homebrew-core/Formula/gsutil.rb
Dan Loewenherz 30bc31bb41 gsutil 3.9
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-06-07 07:12:13 -07:00

21 lines
582 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
homepage 'http://code.google.com/p/gsutil/'
url 'http://commondatastorage.googleapis.com/pub/gsutil_3.9.tar.gz'
sha1 '33e728bc5d6d26c81737446843ffa0f9a5dbc8b5'
def install
libexec.install Dir["*"]
bin.install_symlink libexec/'gsutil'
end
def test
system "#{bin}/gsutil"
end
end