2011-03-10 05:11:03 +00:00
|
|
|
class Byobu < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "Text-based window manager and terminal multiplexer"
|
2015-04-17 20:07:04 +00:00
|
|
|
homepage "http://byobu.co"
|
2016-01-22 01:14:05 +00:00
|
|
|
url "https://launchpad.net/byobu/trunk/5.101/+download/byobu_5.101.orig.tar.gz"
|
|
|
|
sha256 "15972e7a6fc877fbc4e281f75ea23c04393d99764c8f6fe129dc91d614f5c8ce"
|
|
|
|
|
2015-01-27 18:36:31 +00:00
|
|
|
bottle do
|
2015-09-23 09:59:28 +00:00
|
|
|
cellar :any_skip_relocation
|
2016-01-22 03:25:12 +00:00
|
|
|
sha256 "4a86fe5d52e406dbf457465fb163a91705e44508a94a7b811c4c9bcdbe4a1455" => :el_capitan
|
|
|
|
sha256 "73f0f7d6e37622ddd82684246ea5357e458df912c11b25a0e4298e35c7d62a69" => :yosemite
|
|
|
|
sha256 "ca449ba4b66017d09280d24ff3d1d0389eeee6b5d9cb84b00f2c10397c43fa5d" => :mavericks
|
2015-01-27 18:36:31 +00:00
|
|
|
end
|
|
|
|
|
2016-01-30 15:31:09 +00:00
|
|
|
head do
|
|
|
|
url "https://github.com/dustinkirkland/byobu.git"
|
|
|
|
|
|
|
|
depends_on "automake" => :build
|
|
|
|
depends_on "autoconf" => :build
|
|
|
|
end
|
|
|
|
|
2015-08-10 22:35:23 +00:00
|
|
|
conflicts_with "ctail", :because => "both install `ctail` binaries"
|
|
|
|
|
2015-04-17 20:07:04 +00:00
|
|
|
depends_on "coreutils"
|
|
|
|
depends_on "gnu-sed" # fails with BSD sed
|
|
|
|
depends_on "tmux"
|
|
|
|
depends_on "newt" => "with-python"
|
2010-09-12 16:17:00 +00:00
|
|
|
|
|
|
|
def install
|
2016-01-22 01:14:05 +00:00
|
|
|
if build.head?
|
|
|
|
cp "./debian/changelog", "./ChangeLog"
|
|
|
|
system "autoreconf", "-fvi"
|
|
|
|
end
|
2010-09-12 16:17:00 +00:00
|
|
|
system "./configure", "--prefix=#{prefix}"
|
2015-04-17 20:07:04 +00:00
|
|
|
system "make", "install"
|
|
|
|
end
|
|
|
|
|
2012-02-19 03:58:56 +00:00
|
|
|
def caveats; <<-EOS.undent
|
2012-05-19 04:27:06 +00:00
|
|
|
Add the following to your shell configuration file:
|
|
|
|
export BYOBU_PREFIX=$(brew --prefix)
|
2012-02-19 03:58:56 +00:00
|
|
|
EOS
|
|
|
|
end
|
2015-07-05 21:36:49 +00:00
|
|
|
|
|
|
|
test do
|
|
|
|
system bin/"byobu-status"
|
|
|
|
end
|
2010-09-12 16:17:00 +00:00
|
|
|
end
|