homebrew-core/Formula/hydra.rb

21 lines
539 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
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