2014-11-10 17:42:06 +00:00
|
|
|
require "formula"
|
2010-03-10 21:15:50 +00:00
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Cracklib < Formula
|
2014-11-10 17:42:06 +00:00
|
|
|
homepage "http://cracklib.sourceforge.net/"
|
|
|
|
url "https://downloads.sourceforge.net/project/cracklib/cracklib/2.9.2/cracklib-2.9.2.tar.gz"
|
|
|
|
sha1 "a780211a87a284297aa473fe2b50584b842a0e98"
|
2010-03-10 21:15:50 +00:00
|
|
|
|
2014-07-03 12:32:20 +00:00
|
|
|
bottle do
|
|
|
|
end
|
|
|
|
|
2010-03-10 21:15:50 +00:00
|
|
|
depends_on "gettext"
|
|
|
|
|
|
|
|
def install
|
|
|
|
ENV.deparallelize
|
|
|
|
system "./configure", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}",
|
2014-11-10 17:42:06 +00:00
|
|
|
"--sbindir=#{bin}",
|
2010-03-10 21:15:50 +00:00
|
|
|
"--without-python",
|
|
|
|
"--with-default-dict=#{HOMEBREW_PREFIX}/share/cracklib-words"
|
2014-11-10 17:42:06 +00:00
|
|
|
system "make", "install"
|
2010-03-10 21:15:50 +00:00
|
|
|
end
|
|
|
|
end
|