require 'formula' class Texapp < Formula homepage 'http://www.floodgap.com/software/texapp/' url 'http://www.floodgap.com/software/texapp/dist0/0.6.07.txt' sha1 '172dad45a1f71c6927b3dbf5fc3cea51e31f7938' 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