2011-09-05 21:22:53 +00:00
|
|
|
# From: Jacques Distler <distler@golem.ph.utexas.edu>
|
|
|
|
# You can always find the latest version by checking
|
|
|
|
# http://golem.ph.utexas.edu/~distler/code/itexToMML/view/head:/itex-src/itex2MML.h
|
|
|
|
# The corresponding versioned archive is
|
|
|
|
# http://golem.ph.utexas.edu/~distler/blog/files/itexToMML-x.x.x.tar.gz
|
|
|
|
|
|
|
|
class Itex2mml < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "Text filter to convert itex equations to MathML"
|
2015-08-03 12:55:31 +00:00
|
|
|
homepage "http://golem.ph.utexas.edu/~distler/blog/itex2MML.html"
|
|
|
|
url "http://golem.ph.utexas.edu/~distler/blog/files/itexToMML-1.5.1.tar.gz"
|
|
|
|
sha256 "09f39f9db83d2693c9c80288644a8121cd268e956e44684722d29cd6343f524c"
|
2011-09-05 21:22:53 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
bin.mkpath
|
|
|
|
cd "itex-src" do
|
|
|
|
system "make"
|
|
|
|
system "make", "install", "prefix=#{prefix}", "BINDIR=#{bin}"
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2013-03-25 18:35:19 +00:00
|
|
|
test do
|
|
|
|
system "#{bin}/itex2MML", "--version"
|
2011-09-05 21:22:53 +00:00
|
|
|
end
|
|
|
|
end
|