49c7015a20
Closes Homebrew/homebrew#22852. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
27 lines
618 B
Ruby
27 lines
618 B
Ruby
require 'formula'
|
|
|
|
class Byobu < Formula
|
|
homepage 'http://byobu.co'
|
|
url 'https://launchpad.net/byobu/trunk/5.60/+download/byobu_5.60.orig.tar.gz'
|
|
sha1 '567d8d4b4973a8d31e98043a892ca00136714495'
|
|
|
|
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
|
|
|
|
test do
|
|
system "#{bin}/byobu-config"
|
|
end
|
|
end
|