homebrew-core/Formula/crunch.rb
2015-06-05 14:47:57 +01:00

16 lines
472 B
Ruby

require "formula"
class Crunch < Formula
desc "Wordlist generator"
homepage "http://sourceforge.net/projects/crunch-wordlist"
url "https://downloads.sourceforge.net/project/crunch-wordlist/crunch-wordlist/crunch-3.6.tgz"
sha1 "51bdf8b9dfb9e4486fa6a85e0224522569de4557"
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