2010-03-10 21:15:50 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Cracklib < Formula
|
2010-03-10 21:15:50 +00:00
|
|
|
homepage 'http://cracklib.sourceforge.net/'
|
2014-02-27 14:19:55 +00:00
|
|
|
url 'https://downloads.sourceforge.net/project/cracklib/cracklib/2.9.0/cracklib-2.9.0.tar.gz'
|
2013-06-14 20:17:37 +00:00
|
|
|
sha1 '827dcd24b14bf23911c34f4226b4453b24f949a3'
|
2010-03-10 21:15:50 +00:00
|
|
|
|
2014-07-03 12:32:20 +00:00
|
|
|
bottle do
|
|
|
|
sha1 "40df594cdc2483e6b68b75e019574dbe4fc10519" => :mavericks
|
|
|
|
sha1 "f67cff17c3c71fc0f947b47da85e6eeb0a45a3b8" => :mountain_lion
|
|
|
|
sha1 "c355b2de9ec2df8d647160d08236aef6a783c976" => :lion
|
|
|
|
end
|
|
|
|
|
2010-03-10 21:15:50 +00:00
|
|
|
depends_on "gettext"
|
|
|
|
|
|
|
|
def install
|
|
|
|
ENV.deparallelize
|
|
|
|
system "./configure", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}",
|
|
|
|
"--without-python",
|
|
|
|
"--with-default-dict=#{HOMEBREW_PREFIX}/share/cracklib-words"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|