require 'formula' class Byobu < Formula homepage 'http://byobu.co' url 'https://launchpad.net/byobu/trunk/5.29/+download/byobu_5.29.orig.tar.gz' sha1 'eae1826fb037821c4fc1c6abcd54d151cbfc74a2' 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