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-06-05 01:21:31 +00:00
|
|
|
url "https://launchpad.net/byobu/trunk/5.108/+download/byobu_5.108.orig.tar.gz"
|
|
|
|
sha256 "a8ad1e99b32dbafcd1cb6a58b6541ea177850567d504218af08ffac79a01e39e"
|
2016-01-22 01:14:05 +00:00
|
|
|
|
2015-01-27 18:36:31 +00:00
|
|
|
bottle do
|
2015-09-23 09:59:28 +00:00
|
|
|
cellar :any_skip_relocation
|
2016-09-16 20:36:37 +00:00
|
|
|
rebuild 1
|
|
|
|
sha256 "1a33c074cc72e50ae93e25e0eb30285b2c05f778f75f70e2733056de29575b0f" => :sierra
|
2016-06-05 02:03:01 +00:00
|
|
|
sha256 "adaaa0950a8233b6dd62ec9636941767e73a4232890e5ce0ce6c70fac3a7898c" => :el_capitan
|
|
|
|
sha256 "4978224763c5c36224bc4f48f99be02b8d3f0e13b3e91adfd2c50ca7db169b59" => :yosemite
|
2016-07-25 22:50:53 +00:00
|
|
|
sha256 "73f1a3052b8401ae4b2aacc413b5e9fe15eda85efb83c1f3d25b89859eba24fe" => :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-04-17 20:07:04 +00:00
|
|
|
depends_on "coreutils"
|
|
|
|
depends_on "gnu-sed" # fails with BSD sed
|
|
|
|
depends_on "tmux"
|
2016-07-25 06:36:44 +00:00
|
|
|
depends_on "newt"
|
2010-09-12 16:17:00 +00:00
|
|
|
|
2016-09-24 15:45:48 +00:00
|
|
|
conflicts_with "ctail", :because => "both install `ctail` binaries"
|
2016-08-23 00:15:09 +00:00
|
|
|
|
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
|