aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/cracklib.rb18
1 files changed, 18 insertions, 0 deletions
diff --git a/Library/Formula/cracklib.rb b/Library/Formula/cracklib.rb
new file mode 100644
index 000000000..947a7c099
--- /dev/null
+++ b/Library/Formula/cracklib.rb
@@ -0,0 +1,18 @@
+require 'formula'
+
+class Cracklib <Formula
+ url 'http://downloads.sourceforge.net/project/cracklib/cracklib/2.8.16/cracklib-2.8.16.tar.gz'
+ homepage 'http://cracklib.sourceforge.net/'
+ md5 '3bfb22db8fcffd019463ee415a1b25b7'
+
+ 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