2010-09-17 06:50:32 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Hydra < Formula
|
2011-07-15 12:30:16 +00:00
|
|
|
url 'http://www.thc.org/releases/hydra-6.5-src.tar.gz'
|
2011-06-16 18:12:45 +00:00
|
|
|
homepage 'http://www.thc.org/thc-hydra/'
|
2011-07-15 12:30:16 +00:00
|
|
|
md5 '69a5afbbcbe3b1fdd31f9bf616480336'
|
2011-07-17 20:16:35 +00:00
|
|
|
version "6.5+diff1"
|
|
|
|
|
|
|
|
# This patch is provided by the original authors of this software
|
|
|
|
def patches
|
|
|
|
{ :p0 => "http://www.thc.org/thc-hydra/hydra-6.5-fix.diff" }
|
|
|
|
end
|
2010-09-17 06:50:32 +00:00
|
|
|
|
|
|
|
def install
|
2011-06-16 18:12:45 +00:00
|
|
|
system "./configure", "--prefix=#{prefix}"
|
2010-09-17 06:50:32 +00:00
|
|
|
bin.mkpath
|
2011-06-16 18:12:45 +00:00
|
|
|
system "make all install"
|
|
|
|
share.install prefix+"man" # Put man pages in correct place
|
2010-09-17 06:50:32 +00:00
|
|
|
end
|
|
|
|
end
|