61b2307139
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.
15 lines
No EOL
351 B
Ruby
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 |