homebrew-core/Formula/byobu.rb
2016-12-09 10:05:05 +00:00

47 lines
1.3 KiB
Ruby

class Byobu < Formula
desc "Text-based window manager and terminal multiplexer"
homepage "http://byobu.co"
url "https://launchpad.net/byobu/trunk/5.108/+download/byobu_5.108.orig.tar.gz"
sha256 "a8ad1e99b32dbafcd1cb6a58b6541ea177850567d504218af08ffac79a01e39e"
bottle do
cellar :any_skip_relocation
rebuild 2
sha256 "37ff1fbe3404c5a71d5162b20b131ab91edb0496f3f5f0079ee400fb55d209c5" => :sierra
sha256 "a21766d825c68db2341701781c65ee17fe6bf2d45d48c8ae3e87a3cdb7dd6460" => :el_capitan
sha256 "a21766d825c68db2341701781c65ee17fe6bf2d45d48c8ae3e87a3cdb7dd6460" => :yosemite
end
head do
url "https://github.com/dustinkirkland/byobu.git"
depends_on "automake" => :build
depends_on "autoconf" => :build
end
depends_on "coreutils"
depends_on "gnu-sed" # fails with BSD sed
depends_on "tmux"
depends_on "newt"
conflicts_with "ctail", :because => "both install `ctail` binaries"
def install
if build.head?
cp "./debian/changelog", "./ChangeLog"
system "autoreconf", "-fvi"
end
system "./configure", "--prefix=#{prefix}"
system "make", "install"
end
def caveats; <<-EOS.undent
Add the following to your shell configuration file:
export BYOBU_PREFIX=#{HOMEBREW_PREFIX}
EOS
end
test do
system bin/"byobu-status"
end
end