From 28ed845442e8721b9f56eaf04cd2b9c75167f687 Mon Sep 17 00:00:00 2001 From: Stephen Bannasch Date: Mon, 5 Sep 2011 17:22:53 -0400 Subject: [PATCH] itex2MML 1.4.9 Signed-off-by: Adam Vandenberg --- Formula/itex2mml.rb | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 Formula/itex2mml.rb diff --git a/Formula/itex2mml.rb b/Formula/itex2mml.rb new file mode 100644 index 0000000000..fb2b880515 --- /dev/null +++ b/Formula/itex2mml.rb @@ -0,0 +1,25 @@ +require 'formula' + +# From: Jacques Distler +# 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.9.tar.gz' + sha1 '523db5a0db77f175a820aeb0387ded61f4532f9f' + + 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