1d07e72d48
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
15 lines
No EOL
351 B
Ruby
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 |