aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/byobu.rb
blob: a0f49153add1027b2d43c43de6cb1ac6e2f84855 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
require 'formula'

class Byobu < Formula
  homepage 'http://byobu.co'
  url 'https://launchpad.net/byobu/trunk/5.41/+download/byobu_5.41.orig.tar.gz'
  sha1 'fdf4e6384936def0dd45485b5b32e20d366a3cbc'

  depends_on 'coreutils'
  depends_on 'gnu-sed' # fails with BSD sed
  depends_on 'tmux'
  depends_on 'newt' => 'with-python'

  def install
    system "./configure", "--prefix=#{prefix}"
    system "make install"
  end

  def caveats; <<-EOS.undent
    Add the following to your shell configuration file:
      export BYOBU_PREFIX=$(brew --prefix)
    EOS
  end
end