homebrew-core/Formula/mplayer.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
No EOL
351 B
Ruby

require 'formula'
class Mplayer <Formula
@homepage='http://www.mplayerhq.hu/'
@head='svn://svn.mplayerhq.hu/mplayer/trunk'
depends_on 'pkg-config' => :recommended
def install
ENV.gcc_4_2 # llvm chokes on labels within mlp inline asm
system "./configure --prefix='#{prefix}'"
system "make"
system "make install"
end
end