61b2307139
brewkit.rb changes ENV destructively, so lets not do that everytime a formula is required. Now it's possible for other tools to require a formula description without worrying about side-effects.
12 lines
358 B
Ruby
12 lines
358 B
Ruby
require 'formula'
|
|
|
|
class Pwgen <Formula
|
|
url 'http://downloads.sourceforge.net/project/pwgen/pwgen/2.06/pwgen-2.06.tar.gz'
|
|
homepage 'http://pwgen.sourceforge.net/'
|
|
md5 '935aebcbe610fbc9de8125e7b7d71297'
|
|
|
|
def install
|
|
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
|
|
system "make install"
|
|
end
|
|
end
|