aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2011-07-11 21:02:24 -0500
committerAdam Vandenberg2011-07-11 19:42:19 -0700
commit1ffde14c7c204b2e22212181c8a52205d57d2771 (patch)
treef779db39d2f4e3f76340d6113ee466b82dd52942 /Library
parentfab1a14116bafc54ac3b9a2c53600ebd1988ebb9 (diff)
downloadhomebrew-1ffde14c7c204b2e22212181c8a52205d57d2771.tar.bz2
tmux 1.5
A laundry list of updates, including a revamped build system. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/tmux.rb14
1 files changed, 6 insertions, 8 deletions
diff --git a/Library/Formula/tmux.rb b/Library/Formula/tmux.rb
index d11ba43c5..a1385a59b 100644
--- a/Library/Formula/tmux.rb
+++ b/Library/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