homebrew-core/Formula/mjpegtools.rb

24 lines
675 B
Ruby
Raw Normal View History

require 'formula'
class Mjpegtools < Formula
homepage 'http://mjpeg.sourceforge.net/'
url 'https://downloads.sourceforge.net/project/mjpeg/mjpegtools/2.1.0/mjpegtools-2.1.0.tar.gz'
sha1 'b9effa86280e23d67369e842e5cb645948583097'
depends_on :x11 => :optional
2013-02-10 05:53:27 +00:00
depends_on 'pkg-config' => :build
depends_on 'jpeg'
2013-01-26 20:36:51 +00:00
depends_on 'libquicktime' => :optional
depends_on 'libdv' => :optional
depends_on 'gtk+' => :optional
depends_on 'sdl_gfx' => :optional
def install
2013-01-26 20:36:51 +00:00
system "./configure", "--disable-dependency-tracking",
"--enable-simd-accel",
"--prefix=#{prefix}"
system "make install"
end
end