32 lines
949 B
Ruby
32 lines
949 B
Ruby
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
|
|
|
|
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"
|
|
system "make", "-C", "src", "install"
|
|
end
|
|
|
|
test do
|
|
system "#{bin}/ophcrack", "-h"
|
|
end
|
|
end
|