17 lines
399 B
Ruby
17 lines
399 B
Ruby
|
require 'formula'
|
||
|
|
||
|
class Gcutil < Formula
|
||
|
homepage 'https://developers.google.com/compute/docs/gcutil/'
|
||
|
url 'https://google-compute-engine-tools.googlecode.com/files/gcutil-1.5.0.tar.gz'
|
||
|
sha1 '785290893ab722f2a1510f37982e80e52f9f043a'
|
||
|
|
||
|
def install
|
||
|
libexec.install 'gcutil', 'lib'
|
||
|
bin.install_symlink libexec/"gcutil"
|
||
|
end
|
||
|
|
||
|
def test
|
||
|
system "#{bin}/gcutil", "version"
|
||
|
end
|
||
|
end
|