2009-10-15 08:07:12 +00:00
|
|
|
require 'formula'
|
2009-09-30 05:19:25 +00:00
|
|
|
|
|
|
|
class Tmux <Formula
|
|
|
|
url 'http://downloads.sourceforge.net/tmux/tmux-1.0.tar.gz'
|
2009-09-30 14:03:43 +00:00
|
|
|
homepage 'http://tmux.sourceforge.net'
|
2009-09-30 05:19:25 +00:00
|
|
|
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
|