homebrew-core/Formula/ophcrack.rb

33 lines
949 B
Ruby
Raw Normal View History

require "formula"
class Ophcrack < Formula
homepage "http://ophcrack.sourceforge.net/"
url "https://downloads.sourceforge.net/project/ophcrack/ophcrack/3.6.0/ophcrack-3.6.0.tar.bz2"
mirror "https://mirrors.kernel.org/debian/pool/main/o/ophcrack/ophcrack_3.6.0.orig.tar.bz2"
sha1 "8e39b8c013b3f2144b23e33abeeadbb81e4120ca"
revision 1
2014-10-16 23:06:44 +00:00
bottle do
cellar :any
sha1 "708bc9a7d0d55c7bc40c658193b7f8c132a4b03a" => :mavericks
sha1 "dada805fde40ab311f1819bc51b1280cdc224bfe" => :mountain_lion
sha1 "4c4e177a30674d11e10fd825d3567d41773d952b" => :lion
end
depends_on "openssl"
def install
system "./configure", "--disable-debug",
"--disable-gui",
"--with-libssl=#{Formula["openssl"].opt_prefix}",
"--prefix=#{prefix}"
system "make"
2014-04-17 04:25:17 +00:00
system "make", "-C", "src", "install"
end
test do
system "#{bin}/ophcrack", "-h"
end
end