octave: use new optional deps

This commit is contained in:
Jack Nagel 2013-01-26 20:51:13 -06:00
parent ebd1461de1
commit 12f6687112

View file

@ -14,7 +14,6 @@ class Octave < Formula
mirror 'http://ftp.gnu.org/gnu/octave/octave-3.6.3.tar.bz2'
sha1 'e8bd0c0b33ab9714ddb524f2258546c3536f0628'
option 'without-graphicsmagick', 'Compile without GraphicsMagick'
option 'without-fltk', 'Compile without fltk (disables native graphics)'
option 'test', 'Run tests before installing'
@ -39,7 +38,7 @@ class Octave < Formula
# additional features
depends_on 'suite-sparse'
depends_on 'glpk'
depends_on 'graphicsmagick' => :recommended unless build.include? 'without-graphicsmagick'
depends_on 'graphicsmagick' => :recommended
depends_on 'hdf5'
depends_on 'pcre'
depends_on 'qhull'