aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-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