homebrew-core/Formula/byobu.rb
Misty De Meo 846d61ba9b byobu: add gnu-sed dependency
byobu tries to call sed with flags which don't work with BSD sed;
depending on gnu-sed fixes several commands.

This was reported upstream and marked fixed, but still seems to be the
case in current versions:
https://bugs.launchpad.net/byobu/+bug/882813
2012-07-19 22:55:27 -05:00

21 lines
522 B
Ruby

require 'formula'
class Byobu < Formula
homepage 'http://launchpad.net/byobu'
url 'https://launchpad.net/byobu/trunk/5.21/+download/byobu_5.21.orig.tar.gz'
sha1 '81ed721b643addf84c7aba10f173c27dc69391bd'
depends_on 'coreutils'
depends_on 'gnu-sed' # fails with BSD sed
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