2011-03-10 05:11:03 +00:00
|
|
|
class Byobu < Formula
|
2015-04-17 20:07:04 +00:00
|
|
|
homepage "http://byobu.co"
|
|
|
|
url "https://launchpad.net/byobu/trunk/5.92/+download/byobu_5.92.orig.tar.gz"
|
|
|
|
sha256 "22a5cab37c2426688945a5dfebc521dc684a4eda11bf48a1767dc6ba4b2b7a2c"
|
2012-05-19 04:27:06 +00:00
|
|
|
|
2015-01-27 18:36:31 +00:00
|
|
|
bottle do
|
2015-04-17 20:57:50 +00:00
|
|
|
sha256 "00b83c52d088c2ac0b46ebe5f15fc07af5f9bed8d1687ddf3a9ff019cd2340bb" => :yosemite
|
|
|
|
sha256 "8261afcff0043e4f3435e92facf03f686621400a18d9ff6c38b43a49c1d42789" => :mavericks
|
|
|
|
sha256 "c73501b5d8969028206d6a3479b2556e4efbf9c24effaad973a96c6a35d68dcd" => :mountain_lion
|
2015-01-27 18:36:31 +00:00
|
|
|
end
|
|
|
|
|
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
|
|
|
|
system "./configure", "--prefix=#{prefix}"
|
2015-04-17 20:07:04 +00:00
|
|
|
system "make", "install"
|
|
|
|
end
|
|
|
|
|
|
|
|
test do
|
|
|
|
system bin/"byobu-status"
|
2010-09-12 16:17:00 +00:00
|
|
|
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
|
2010-09-12 16:17:00 +00:00
|
|
|
end
|