require 'formula' class Byobu < Formula homepage 'http://byobu.co' url 'https://launchpad.net/byobu/trunk/5.69/+download/byobu_5.69.orig.tar.gz' sha1 '28823d25563e4356ac7dde7726d7dc68fb01ead8' depends_on 'coreutils' depends_on 'gnu-sed' # fails with BSD sed depends_on 'tmux' depends_on 'newt' => 'with-python' def install system "./configure", "--prefix=#{prefix}" system "make install" end def caveats; <<-EOS.undent Add the following to your shell configuration file: export BYOBU_PREFIX=$(brew --prefix) EOS end end