class Rats < Formula desc "Rough auditing tool for security" homepage "https://security.web.cern.ch/security/recommendations/en/codetools/rats.shtml" url "https://rough-auditing-tool-for-security.googlecode.com/files/rats-2.4.tgz" sha256 "2163ad111070542d941c23b98d3da231f13cf065f50f2e4ca40673996570776a" def install system "./configure", "--prefix=#{prefix}", "--mandir=#{man}", "--infodir=#{info}" system "make", "install" end test do system "#{bin}/rats" end end