homebrew-core/Formula/mplayer.rb
elliottcable 249d54362a Fixing the mplayer formula, for now.
Some day I hope to make it utilize the ffmpeg-mt and speed patches, as well as
providing optimization info in the notes, but I can’t currently get that to
work on Snow Leopard. Maybe later.
2009-09-18 00:13:46 -08:00

15 lines
No EOL
435 B
Ruby

require 'brewkit'
class Mplayer <Formula
@homepage='http://www.mplayerhq.hu/'
@head='svn://svn.mplayerhq.hu/mplayer/trunk'
def install
# Information from http://blog.bloople.net/read/mplayer-on-snow-leopard
# seems to claim that we have to build against an x86_64 target even if on
# i386 /-:
system "./configure --prefix='#{prefix}' --target=x86_64-Darwin"
system "make"
system "make install"
end
end