latex2html: make tex optional

Re https://github.com/Homebrew/homebrew/pull/38855#issuecomment-94504628

Closes Homebrew/homebrew#38863.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
Dominyk Tiller 2015-04-20 18:19:11 +01:00 committed by Mike McQuaid
parent 153ce3c204
commit eccc9fa6ee

View file

@ -1,11 +1,11 @@
class Latex2html < Formula
homepage "http://ctan.uib.no/help/Catalogue/entries/latex2html.html"
url "http://ctan.uib.no/support/latex2html/latex2html-2012.tgz"
sha1 "54b42d3fb812b0bf3d25bbde7e0ea2daf84e69ff"
sha256 "36b4b633507dba19a356d4ec5c6c145b242406b2b47cbe44aabf5e7efa2aa16f"
depends_on "netpbm"
depends_on "ghostscript"
depends_on :tex
depends_on :tex => :optional
def install
system "./configure", "--prefix=#{prefix}",