require 'formula' class Ttytter < ScriptFileFormula homepage 'http://www.floodgap.com/software/ttytter/' url 'http://www.floodgap.com/software/ttytter/dist2/2.0.03.txt' sha1 'ddffb936b08cf3fa67fc121fb258a6f4e088fd2f' def install bin.install '2.0.03.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