require 'formula' # # Installs a relatively minimalist version of the GPAC tools. The # most commonly used tool in this package is the MP4Box metadata # interleaver, which has relatively few dependencies. # # The challenge with building everything is that Gpac depends on # a much older version of FFMpeg and WxWidgets than the version # that Brew installs # class Gpac :optional def install ENV.deparallelize system "chmod +x configure" system "./configure", "--disable-wx", "--use-ffmpeg=no", "--prefix=#{prefix}", "--mandir=#{man}" system "make" system "make install" end end