homebrew-core/Formula/mplayer.rb
David Conrad 1d07e72d48 MPlayer formula fixes
Don't force x86_64; configure detects it properly now

Use gcc-4.2 as llvm-gcc-4.2 chokes on mlp inline asm

Add recommended dependancy on pkg-config
2009-10-09 00:54:27 +01:00

15 lines
No EOL
351 B
Ruby

require 'brewkit'
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