2010-08-27 18:01:46 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-13 01:43:53 +00:00
|
|
|
class Ttytter < ScriptFileFormula
|
2011-07-01 04:58:37 +00:00
|
|
|
url 'http://www.floodgap.com/software/ttytter/dist1/1.2.00.txt'
|
2010-08-27 18:01:46 +00:00
|
|
|
homepage 'http://www.floodgap.com/software/ttytter/'
|
2011-07-01 04:58:37 +00:00
|
|
|
md5 '82841292bc27d9297e2a6d907be2cd83'
|
2010-08-27 18:01:46 +00:00
|
|
|
|
|
|
|
def install
|
2011-07-01 04:58:37 +00:00
|
|
|
bin.install '1.2.00.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
|