homebrew-core/Formula/itex2mml.rb
Brett Koonce 5da22d0623 itex2mml 1.4.10
Closes Homebrew/homebrew#13931.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-08-03 19:50:46 -07:00

25 lines
766 B
Ruby

require 'formula'
# 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
homepage 'http://golem.ph.utexas.edu/~distler/blog/itex2MML.html'
url 'http://golem.ph.utexas.edu/~distler/blog/files/itexToMML-1.4.10.tar.gz'
sha1 '445657b5939f75d0c3c4e5fea5cc51d6594cb932'
def install
bin.mkpath
cd "itex-src" do
system "make"
system "make", "install", "prefix=#{prefix}", "BINDIR=#{bin}"
end
end
def test
system "#{bin}/itex2MML --version"
end
end