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/'
|
2013-01-03 04:37:40 +00:00
|
|
|
url 'http://sourceforge.net/projects/cracklib/files/cracklib/2.8.22/cracklib-2.8.22.tar.gz'
|
|
|
|
sha1 'd91d977a1909e0cc3f5cb30754ba5e5e90655ab0'
|
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
|