homebrew-core/Formula/pwgen.rb
Jaime Marquínez Ferrándiz 74c83fa9f6 Batch convert http download urls from SourceForge to https
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2014-03-02 09:16:53 -08:00

18 lines
507 B
Ruby

require 'formula'
class Pwgen < Formula
homepage 'http://pwgen.sourceforge.net/'
url 'https://downloads.sourceforge.net/project/pwgen/pwgen/2.06/pwgen-2.06.tar.gz'
sha1 '43dc4fbe6c3bdf96ae24b20d44c4a4584df93d8e'
def install
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--mandir=#{man}"
system "make install"
end
test do
system "#{bin}/pwgen", '--secure', '20', '10'
end
end