homebrew-core/Formula/ffmpeg.rb
Max Howell 61b2307139 s/require 'brewkit'/require 'formula'/g
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.
2009-10-15 16:48:03 +01:00

18 lines
456 B
Ruby

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