From 40c424c153491611479eb4480cd87b5cb9b628b4 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Mon, 11 Jul 2011 21:02:24 -0500 Subject: [PATCH] tmux 1.5 A laundry list of updates, including a revamped build system. Signed-off-by: Adam Vandenberg --- Formula/tmux.rb | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/Formula/tmux.rb b/Formula/tmux.rb index d11ba43c59..a1385a59bc 100644 --- a/Formula/tmux.rb +++ b/Formula/tmux.rb @@ -1,20 +1,18 @@ require 'formula' class Tmux < Formula - url 'http://sourceforge.net/projects/tmux/files/tmux/tmux-1.4/tmux-1.4.tar.gz' - md5 '0bfc7dd9a5bab192406167589c716a21' + url 'http://sourceforge.net/projects/tmux/files/tmux/tmux-1.5/tmux-1.5.tar.gz' + md5 '3d4b683572af34e83bc8b183a8285263' homepage 'http://tmux.sourceforge.net' depends_on 'libevent' def install - ENV['PREFIX'] = prefix - system "./configure" - - # Put man pages in the right place - inreplace "GNUmakefile", "man/man1", "share/man/man1" - + ENV.append "LDFLAGS", '-lresolv' + system "./configure", "--disable-dependency-tracking", + "--prefix=#{prefix}", "--sysconfdir=#{etc}" system "make install" + # Install bash completion scripts for use with bash-completion (prefix+'etc/bash_completion.d').install "examples/bash_completion_tmux.sh" => 'tmux' end