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
|
|
|
|
|
|
|
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
|