aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorChristoph Sturm2009-09-10 02:06:52 +0200
committerMax Howell2009-09-11 17:42:53 +0100
commit2f84e13ba7f3a8cfb24f00ff2b4b415996a3ef72 (patch)
treed74779ea0771893cd6134183feae4db147bce0f1 /Library/Formula
parentd92ca447b94788d52cece7e49da2e12efa4d9848 (diff)
downloadhomebrew-2f84e13ba7f3a8cfb24f00ff2b4b415996a3ef72.tar.bz2
FFmpeg formula (10.6 only)
The formula is 10.6 only because it compiles 64 bit, if you are a Leopard user please patch! The MACOS_VERSION constant may be useful. FFmpeg is a complete, cross-platform solution to record, convert and stream audio and video. It includes libavcodec - the leading audio/video codec library.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/ffmpeg.rb14
1 files changed, 14 insertions, 0 deletions
diff --git a/Library/Formula/ffmpeg.rb b/Library/Formula/ffmpeg.rb
new file mode 100644
index 000000000..f694a81a5
--- /dev/null
+++ b/Library/Formula/ffmpeg.rb
@@ -0,0 +1,14 @@
+require 'brewkit'
+
+class Ffmpeg <Formula
+ @head='svn://svn.ffmpeg.org/ffmpeg/trunk'
+ @homepage='http://ffmpeg.org/'
+
+ def install
+ system "./configure", "--prefix=#{prefix}",
+ "--disable-debug",
+ "--enable-nonfree",
+ "arch=x86_64"
+ system "make install"
+ end
+end