311e6b73e7
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
20 lines
539 B
Ruby
20 lines
539 B
Ruby
require 'formula'
|
|
|
|
class Hydra < Formula
|
|
url 'http://www.thc.org/releases/hydra-6.5-src.tar.gz'
|
|
homepage 'http://www.thc.org/thc-hydra/'
|
|
md5 '69a5afbbcbe3b1fdd31f9bf616480336'
|
|
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
|
|
|
|
def install
|
|
system "./configure", "--prefix=#{prefix}"
|
|
bin.mkpath
|
|
system "make all install"
|
|
share.install prefix+"man" # Put man pages in correct place
|
|
end
|
|
end
|