require 'formula' class Gcutil < Formula homepage 'https://developers.google.com/compute/docs/gcutil/' url 'https://google-compute-engine-tools.googlecode.com/files/gcutil-1.8.3.tar.gz' sha1 'c74d99060ec2f770e2a1f2b1b6016f91f080e244' def install libexec.install 'gcutil', 'lib' bin.install_symlink libexec/"gcutil" end def test system "#{bin}/gcutil", "version" end end