require 'formula' class Byobu < Formula homepage 'http://byobu.co' url 'https://launchpad.net/byobu/trunk/5.30/+download/byobu_5.30.orig.tar.gz' sha1 '799a0cc7da20fe5cf68e91950d3782960c72d44c' depends_on 'coreutils' depends_on 'gnu-sed' # fails with BSD sed depends_on 'tmux' 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