aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJack Nagel2013-01-26 14:36:51 -0600
committerJack Nagel2013-01-26 14:36:51 -0600
commite08184e3ebd8f4ad9e316f0e127bc01f99bd49b6 (patch)
treed97158ad15125d1e1241ccd320da6bd776e153df /Library/Formula
parentf54b81ba3e7d81a7875d85479b280a5054b79e0f (diff)
downloadhomebrew-e08184e3ebd8f4ad9e316f0e127bc01f99bd49b6.tar.bz2
mjpegtools: use new optional deps
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/mjpegtools.rb21
1 files changed, 7 insertions, 14 deletions
diff --git a/Library/Formula/mjpegtools.rb b/Library/Formula/mjpegtools.rb
index 2b7450f20..9833aedbf 100644
--- a/Library/Formula/mjpegtools.rb
+++ b/Library/Formula/mjpegtools.rb
@@ -7,16 +7,11 @@ class Mjpegtools < Formula
depends_on :x11 if MacOS::X11.installed?
- option "with-libquicktime", "Build with Quicktime support"
- option "with-libdv", "Build with DV support"
- option "with-gtk+", "Build with GTK+ support"
- option "with-sdl_gfx", "Build with SDL support"
-
depends_on 'jpeg'
- depends_on 'libquicktime' => :optional if build.include? "with-libquicktime"
- depends_on 'libdv' => :optional if build.include? "with-libdv"
- depends_on 'gtk+' => :optional if build.include? "with-gtk+"
- depends_on 'sdl_gfx' => :optional if build.include? "with-sdl_gfx"
+ depends_on 'libquicktime' => :optional
+ depends_on 'libdv' => :optional
+ depends_on 'gtk+' => :optional
+ depends_on 'sdl_gfx' => :optional
fails_with :clang do
build 421
@@ -27,11 +22,9 @@ class Mjpegtools < Formula
end
def install
- args = ["--disable-dependency-tracking",
- "--enable-simd-accel",
- "--prefix=#{prefix}"]
-
- system "./configure", *args
+ system "./configure", "--disable-dependency-tracking",
+ "--enable-simd-accel",
+ "--prefix=#{prefix}"
system "make install"
end
end