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