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
|
2014-11-10 17:55:11 +00:00
|
|
|
sha1 "51805becd70c9f2d62c40ab28b5e4a2d041b8b24" => :yosemite
|
|
|
|
sha1 "418f78244ce9b7d8ab16bd5869d353981ce9afe7" => :mavericks
|
|
|
|
sha1 "eb566f302ca1118f26a9e88aa537bbcf76c088d0" => :mountain_lion
|
2014-07-03 12:32:20 +00:00
|
|
|
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
|