require 'formula' class Ffmpeg 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