homebrew-core/Formula/tmux.rb
Max Howell 61b2307139 s/require 'brewkit'/require 'formula'/g
brewkit.rb changes ENV destructively, so lets not do that everytime a formula
is required. Now it's possible for other tools to require a formula
description without worrying about side-effects.
2009-10-15 16:48:03 +01:00

15 lines
400 B
Ruby

require 'formula'
class Tmux <Formula
url 'http://downloads.sourceforge.net/tmux/tmux-1.0.tar.gz'
homepage 'http://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