require 'formula' class Hydra < Formula homepage 'http://www.thc.org/thc-hydra/' url 'http://www.thc.org/releases/hydra-7.3-src.tar.gz' sha1 'a998c10d82a951cdd9eeb26e011e1c6e655ac8b9' def install system "./configure", "--prefix=#{prefix}" bin.mkpath system "make all install" share.install prefix/"man" # Put man pages in correct place end end