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/'
|
2012-07-16 01:46:35 +00:00
|
|
|
url 'http://downloads.sourceforge.net/project/cracklib/cracklib/2.8.19/cracklib-2.8.19.tar.gz'
|
|
|
|
sha1 '29224f51db85e1946c209f6ef6c38da699a9c7cc'
|
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
|