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