aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2015-02-21 19:30:02 -0500
committerJack Nagel2015-02-21 19:30:02 -0500
commit8334eba845d09f548c11ab87b7590d8d88644ad3 (patch)
tree1f97236a9db5e4ff8b917ca1b88159457213c895 /Library
parent74a7538cc63630bdf707a1e0b736dc940a10fa6e (diff)
downloadhomebrew-8334eba845d09f548c11ab87b7590d8d88644ad3.tar.bz2
latex2html: fix dependencies
Fixes #36146.
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/latex2html.rb16
1 files changed, 7 insertions, 9 deletions
diff --git a/Library/Formula/latex2html.rb b/Library/Formula/latex2html.rb
index 579b0d46d..46ac60076 100644
--- a/Library/Formula/latex2html.rb
+++ b/Library/Formula/latex2html.rb
@@ -1,18 +1,16 @@
-require 'formula'
-
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'
+ homepage "http://ctan.uib.no/help/Catalogue/entries/latex2html.html"
+ url "http://ctan.uib.no/support/latex2html/latex2html-2012.tgz"
+ sha1 "54b42d3fb812b0bf3d25bbde7e0ea2daf84e69ff"
- depends_on 'netpbm'
- depends_on 'ghostscript' => :optional
- depends_on :tex => :recommended
+ depends_on "netpbm"
+ depends_on "ghostscript"
+ depends_on :tex
def install
system "./configure", "--prefix=#{prefix}",
"--without-mktexlsr",
"--with-texpath=#{share}/texmf/tex/latex/html"
- system "make install"
+ system "make", "install"
end
end