blob: 936916e7582a0f82931ea9be26e66d1e110dfc2a (
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
 | require "formula"
class Cracklib < Formula
  homepage "http://cracklib.sourceforge.net/"
  url "https://downloads.sourceforge.net/project/cracklib/cracklib/2.9.2/cracklib-2.9.2.tar.gz"
  sha1 "a780211a87a284297aa473fe2b50584b842a0e98"
  bottle do
    sha1 "51805becd70c9f2d62c40ab28b5e4a2d041b8b24" => :yosemite
    sha1 "418f78244ce9b7d8ab16bd5869d353981ce9afe7" => :mavericks
    sha1 "eb566f302ca1118f26a9e88aa537bbcf76c088d0" => :mountain_lion
  end
  depends_on "gettext"
  def install
    ENV.deparallelize
    system "./configure", "--disable-dependency-tracking",
                          "--prefix=#{prefix}",
                          "--sbindir=#{bin}",
                          "--without-python",
                          "--with-default-dict=#{HOMEBREW_PREFIX}/share/cracklib-words"
    system "make", "install"
  end
end
 |