homebrew-core/Formula/cracklib.rb

23 lines
642 B
Ruby
Raw Normal View History

2014-11-10 17:42:06 +00:00
require "formula"
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"
2014-07-03 12:32:20 +00:00
bottle do
end
depends_on "gettext"
def install
ENV.deparallelize
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}",
2014-11-10 17:42:06 +00:00
"--sbindir=#{bin}",
"--without-python",
"--with-default-dict=#{HOMEBREW_PREFIX}/share/cracklib-words"
2014-11-10 17:42:06 +00:00
system "make", "install"
end
end