aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/gcutil.rb16
1 files changed, 16 insertions, 0 deletions
diff --git a/Library/Formula/gcutil.rb b/Library/Formula/gcutil.rb
new file mode 100644
index 000000000..a010540bb
--- /dev/null
+++ b/Library/Formula/gcutil.rb
@@ -0,0 +1,16 @@
+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