homebrew-core/Formula/byobu.rb

24 lines
568 B
Ruby

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