aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorStephen Bannasch2011-09-05 17:22:53 -0400
committerAdam Vandenberg2012-06-11 07:21:59 -0700
commit6566be7016ceec3f18a8ae8cefea88b08f434620 (patch)
tree86b558754569fec2c26bf57357e67e3c265d16da /Library
parentc8260392acd28f891fef49be090ea7938abc5713 (diff)
downloadhomebrew-6566be7016ceec3f18a8ae8cefea88b08f434620.tar.bz2
itex2MML 1.4.9
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/itex2mml.rb25
1 files changed, 25 insertions, 0 deletions
diff --git a/Library/Formula/itex2mml.rb b/Library/Formula/itex2mml.rb
new file mode 100644
index 000000000..fb2b88051
--- /dev/null
+++ b/Library/Formula/itex2mml.rb
@@ -0,0 +1,25 @@
+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.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