homebrew-core/Formula/crunch.rb

16 lines
444 B
Ruby
Raw Normal View History

2014-06-17 06:48:23 +00:00
require "formula"
class Crunch < Formula
2014-06-17 06:48:23 +00:00
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