aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/cracklib.rb
blob: 3bee4f96cfff09c8891ac9d71cd0e1d801a8accf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
require 'formula'

class Cracklib < Formula
  homepage 'http://cracklib.sourceforge.net/'
  url 'http://sourceforge.net/projects/cracklib/files/cracklib/2.8.22/cracklib-2.8.22.tar.gz'
  sha1 'd91d977a1909e0cc3f5cb30754ba5e5e90655ab0'

  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