2010-08-27 18:01:46 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-13 01:43:53 +00:00
|
|
|
class Ttytter < ScriptFileFormula
|
2011-05-14 13:56:22 +00:00
|
|
|
url 'http://www.floodgap.com/software/ttytter/dist1/1.1.11.txt'
|
2010-08-27 18:01:46 +00:00
|
|
|
homepage 'http://www.floodgap.com/software/ttytter/'
|
2011-05-14 13:56:22 +00:00
|
|
|
md5 '50bea21abc5e6dfb5d1636fdb4ddbf13'
|
2010-08-27 18:01:46 +00:00
|
|
|
|
|
|
|
def install
|
2011-05-14 13:56:22 +00:00
|
|
|
bin.install '1.1.11.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:
|
2011-04-04 23:56:47 +00:00
|
|
|
brew install readline
|
|
|
|
|
2010-10-13 13:18:40 +00:00
|
|
|
and the Perl Module Term::ReadLine::TTYtter
|
2011-04-04 23:56:47 +00:00
|
|
|
cpan -i Term::ReadLine::TTYtter
|
|
|
|
|
2010-10-11 19:15:09 +00:00
|
|
|
Or if you have cpanminus:
|
2011-04-04 23:56:47 +00:00
|
|
|
cpanm Term::ReadLine::TTYtter
|
2010-10-11 19:15:09 +00:00
|
|
|
EOS
|
2010-08-27 18:01:46 +00:00
|
|
|
end
|
|
|
|
end
|