2011-09-05 21:22:53 +00:00
|
|
|
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'
|
2014-01-18 22:18:46 +00:00
|
|
|
url 'http://golem.ph.utexas.edu/~distler/blog/files/itexToMML-1.5.1.tar.gz'
|
|
|
|
sha1 'e87cb48c9e0ad357d9e20186e4bd34fc8750b59c'
|
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
|