require 'formula' class Texapp < Formula homepage 'http://www.floodgap.com/software/texapp/' url 'http://www.floodgap.com/software/texapp/dist0/0.6.02.txt' sha1 'e575ea986dcddabb763a8e87e0a3d3bb144bbfb4' def install bin.install "#{version}.txt" => "texapp" 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