tmux: added --HEAD

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
Alex Ernst 2012-01-28 01:47:31 +01:00 committed by Adam Vandenberg
parent 5ebc9a7e5f
commit cba7824a31

View file

@ -5,9 +5,13 @@ class Tmux < Formula
md5 '3e37db24aa596bf108a0442a81c845b3'
homepage 'http://tmux.sourceforge.net'
head 'https://tmux.svn.sourceforge.net/svnroot/tmux/trunk'
depends_on 'libevent'
def install
system "sh", "autogen.sh" if ARGV.build_head?
ENV.append "LDFLAGS", '-lresolv'
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}", "--sysconfdir=#{etc}"