require 'formula' class Ttytter < ScriptFileFormula homepage 'http://www.floodgap.com/software/ttytter/' url 'http://www.floodgap.com/software/ttytter/dist2/2.0.04.txt' sha1 'bbd2cca7430d339a53aa71a80fd9521e2932be5e' def install bin.install '2.0.04.txt' => 'ttytter' end def caveats; <<-EOS.undent To take full advantage of readline features you must install readline: brew install readline and the Perl Module Term::ReadLine::TTYtter cpan -i Term::ReadLine::TTYtter Or if you have cpanminus: cpanm Term::ReadLine::TTYtter EOS end end