aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorMatt Kemp2009-09-30 00:19:25 -0500
committerMatt Kemp2009-09-30 00:19:25 -0500
commit85e759383382c30636610cb361f2cd498b3eb10e (patch)
tree501210c14b090027b392e31b093c781d3f7ca0d1 /Library/Formula
parent968a179ea45c83b6d4e446cef1aad5b0d205d262 (diff)
downloadhomebrew-85e759383382c30636610cb361f2cd498b3eb10e.tar.bz2
Added formula for tmux
tmux is a "terminal multiplexer", it enables a number of terminals (or windows) to be accessed and controlled from a single terminal. tmux is intended to be a simple, modern, BSD-licensed alternative to programs such as GNU screen.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/tmux.rb15
1 files changed, 15 insertions, 0 deletions
diff --git a/Library/Formula/tmux.rb b/Library/Formula/tmux.rb
new file mode 100644
index 000000000..b5b7693b5
--- /dev/null
+++ b/Library/Formula/tmux.rb
@@ -0,0 +1,15 @@
+require 'brewkit'
+
+class Tmux <Formula
+ url 'http://downloads.sourceforge.net/tmux/tmux-1.0.tar.gz'
+ homepage 'tmux.sourceforge.net'
+ md5 '716b12d9ea052f57d917bf2869d419df'
+
+ def install
+ ENV['PREFIX'] = "#{prefix}"
+ system "./configure"
+ inreplace "GNUmakefile", " -g bin -o root", ""
+ inreplace "GNUmakefile", "man/man1", "share/man/man1"
+ system "make install"
+ end
+end