aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/mplayer.rb10
1 files changed, 6 insertions, 4 deletions
diff --git a/Library/Formula/mplayer.rb b/Library/Formula/mplayer.rb
index 3221e5394..d8c9809ce 100644
--- a/Library/Formula/mplayer.rb
+++ b/Library/Formula/mplayer.rb
@@ -2,12 +2,14 @@ require 'brewkit'
class Mplayer <Formula
@homepage='http://www.mplayerhq.hu/'
- @url='http://www.mplayerhq.hu/MPlayer/releases/mplayer-checkout-snapshot.tar.bz2'
- @md5=''
- @verison='snapshot'
+ @head='svn://svn.mplayerhq.hu/mplayer/trunk'
def install
- system "./configure --disable-debug --prefix='#{prefix}'"
+ # 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 \ No newline at end of file