homebrew-core/Formula/byobu.rb
2019-06-20 21:21:39 +02:00

46 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.129/+download/byobu_5.129.orig.tar.gz"
sha256 "e5135f20750c359b6371ee87cf2729c6038fbf3a6e66680e67f6a2125b07c2b9"
bottle do
cellar :any_skip_relocation
sha256 "6d47abdde37ae912d3ffabf2161284914cd5cd75ec68b2308e14f1e7cc560e1e" => :mojave
sha256 "6d47abdde37ae912d3ffabf2161284914cd5cd75ec68b2308e14f1e7cc560e1e" => :high_sierra
sha256 "2071147e4d137922442b615dfe4bc13513b85ba1766aa36c7367aec29097ec2c" => :sierra
end
head do
url "https://github.com/dustinkirkland/byobu.git"
depends_on "autoconf" => :build
depends_on "automake" => :build
end
depends_on "coreutils"
depends_on "gnu-sed" # fails with BSD sed
depends_on "newt"
depends_on "tmux"
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
Add the following to your shell configuration file:
export BYOBU_PREFIX=#{HOMEBREW_PREFIX}
EOS
end
test do
system bin/"byobu-status"
end
end