2010-08-27 18:01:46 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Ttytter <ScriptFileFormula
|
2010-11-08 12:12:07 +00:00
|
|
|
url 'http://www.floodgap.com/software/ttytter/dist1/1.1.08.txt'
|
2010-08-27 18:01:46 +00:00
|
|
|
homepage 'http://www.floodgap.com/software/ttytter/'
|
2010-11-08 12:12:07 +00:00
|
|
|
md5 '69d158676c0324a4cb86ac6698185053'
|
2010-08-27 18:01:46 +00:00
|
|
|
|
|
|
|
def install
|
2010-11-08 12:12:07 +00:00
|
|
|
bin.install '1.1.08.txt' => 'ttytter'
|
2010-10-13 13:18:40 +00:00
|
|
|
end
|
2010-10-11 19:15:09 +00:00
|
|
|
|
|
|
|
def caveats; <<-EOS.undent
|
|
|
|
To take full advantage of readline features you must install readline:
|
|
|
|
$ brew install readline
|
2010-10-13 13:18:40 +00:00
|
|
|
and the Perl Module Term::ReadLine::TTYtter
|
2010-10-11 19:15:09 +00:00
|
|
|
$ cpan -i Term::ReadLine::TTYtter
|
|
|
|
Or if you have cpanminus:
|
|
|
|
$ cpanm Term::ReadLine::TTYtter
|
|
|
|
EOS
|
2010-08-27 18:01:46 +00:00
|
|
|
end
|
|
|
|
end
|