homebrew-core/Formula/tmux.rb
Barry Mitchelson fdd63fd480 Ugraded tmux to version 1.2
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-03-22 16:57:29 -07:00

23 lines
504 B
Ruby

require 'formula'
class Tmux <Formula
url 'http://downloads.sourceforge.net/tmux/tmux-1.2.tar.gz'
md5 '748fbe7bb5f86812e19bd6005ff21a5a'
homepage 'http://tmux.sourceforge.net'
depends_on 'libevent'
def install
ENV['PREFIX'] = "#{prefix}"
system "./configure"
inreplace "GNUmakefile" do |f|
# Fix 'install' flags
f.gsub! " -g bin -o root", ""
# Put docs in the right place
f.gsub! "man/man1", "share/man/man1"
end
system "make install"
end
end