homebrew-core/Formula/cracklib-words.rb

17 lines
519 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class CracklibWords < Formula
url 'http://downloads.sourceforge.net/project/cracklib/cracklib-words/2008-05-07/cracklib-words-20080507.gz',
2012-05-04 03:37:57 +00:00
:using => :nounzip
homepage 'http://cracklib.sourceforge.net'
sha1 'e0cea03e505e709b15b8b950d56cb493166607da'
depends_on 'cracklib'
def install
system "gzip", "-d", "cracklib-words-20080507.gz"
share.install "cracklib-words-20080507" => "cracklib-words"
system "/bin/sh", "-c", "cracklib-packer < #{share}/cracklib-words"
end
end