homebrew-core/Formula/crunch.rb

23 lines
823 B
Ruby
Raw Normal View History

class Crunch < Formula
desc "Wordlist generator"
2015-11-12 02:33:05 +00:00
homepage "https://sourceforge.net/projects/crunch-wordlist/"
2014-06-17 06:48:23 +00:00
url "https://downloads.sourceforge.net/project/crunch-wordlist/crunch-wordlist/crunch-3.6.tgz"
sha256 "6a8f6c3c7410cc1930e6854d1dadc6691bfef138760509b33722ff2de133fe55"
2015-10-15 07:50:49 +00:00
bottle do
cellar :any_skip_relocation
2015-11-15 16:17:43 +00:00
revision 1
sha256 "84c0c275e63cc5c27fd468587f67ae5f1ab31a3923fe2eda27b4e33477356844" => :el_capitan
sha256 "406d94f00713b83bbf41b36453605a5f85f154f88aec9b3ae23e7646ddcc03c1" => :yosemite
sha256 "379e5d6a2a8a9baaa9b337f3e702e25ccca6025fd8b49e2685031e67d8ce8666" => :mavericks
2015-10-15 07:50:49 +00:00
end
def install
system "make", "CC=#{ENV.cc}", "LFS=-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
bin.install "crunch"
man1.install "crunch.1"
share.install Dir["*.lst"]
end
end