aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/cracklib.rb
blob: d7cc5daa162f128c94bad76aee57886884d1c95d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
require 'formula'

class Cracklib < Formula
  homepage 'http://cracklib.sourceforge.net/'
  url 'https://downloads.sourceforge.net/project/cracklib/cracklib/2.9.0/cracklib-2.9.0.tar.gz'
  sha1 '827dcd24b14bf23911c34f4226b4453b24f949a3'

  bottle do
    cellar :any
    revision 1
    sha1 "1d4005c5e5401a3104255efb1ae88f5396984f2c" => :yosemite
    sha1 "232a22e23e25dd71405fe869050dfd82bb5141e0" => :mavericks
    sha1 "50d5faf0c5c3a46985382340e311263de9c363a6" => :mountain_lion
  end

  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