aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/cracklib.rb
diff options
context:
space:
mode:
authorChris Adams2010-03-10 16:15:50 -0500
committerAdam Vandenberg2010-06-28 13:14:50 -0700
commitf1607fd060b810cd09f9d8ae20684eea24e19465 (patch)
treeef40ff02c134e072385667612f5ff625e6e6df18 /Library/Formula/cracklib.rb
parent6f7c64b89c871836713945024e13ebf93e1908e4 (diff)
downloadhomebrew-f1607fd060b810cd09f9d8ae20684eea24e19465.tar.bz2
Formula for cracklib
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula/cracklib.rb')
-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