aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/gsutil.rb
blob: 8adf89bb97e152c9d9e2d6d6c5efcc6cd62881df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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