Homebrew formula for tscreen

こんばんは

Homebrew使い始めました。y_echoです。

ググればどこかにありそうですが、Homebrew覚えるついでに書いたのでさらしておきます。

# tmuxはデフォでformula入ってたけど、GNU Screenやtscreenは入ってないようですね

注意

なお、初回実行時はmake install中にこけます。それ以降はヌルっと通ります。明日直すので許してください。
追記: brew uninstall後、~/Library/Caches/Homebrewのキャッシュを消去し再現を試みたところ、普通にヌルっと通りました。tscreen.rbに手は入れてないんだけどな...何が差分なんでしょう...

tscreen.rb

require 'formula'

class Tscreen <Formula
  url 'http://www.steve.org.uk/Software/tscreen/dist/tscreen-0.4.9.tar.gz'
  md5 '12303c84a93a78f1c44441323ba38845'
  homepage 'http://www.steve.org.uk/Software/tscreen/'

  def install
    system "./configure", "--prefix=#{prefix}", "--enable-colors256"
    system "make"
    system "make install"
  end
end