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.0.tar.gz' sha1 '03ebba7ea4569a4e8f853a6226ec51999f7064b5' def install libexec.install 'gcutil', 'lib' bin.install_symlink libexec/"gcutil" end def test system "#{bin}/gcutil", "version" end end