homebrew-core/Formula/ffmpeg.rb
James Snyder 4f7cd737db Get ffmpeg & x264 building on Mac OS X 10.6.
Signed-off-by: David Höppner <0xffea@gmail.com>
2010-03-22 13:20:33 +01:00

20 lines
568 B
Ruby

require 'formula'
class Ffmpeg <Formula
head 'svn://svn.ffmpeg.org/ffmpeg/trunk', :revision => 22585
homepage 'http://ffmpeg.org/'
depends_on 'x264'
def install
configure_flags = [ "--prefix=#{prefix}",
"--disable-debug",
"--enable-shared",
"--enable-pthreads",
"--enable-nonfree",
"--enable-gpl",
"--enable-libx264"]
system "./configure", *configure_flags
system "make install"
end
end