homebrew-core/Formula/mlkit.rb

26 lines
576 B
Ruby
Raw Normal View History

require 'formula'
class Mlkit < Formula
homepage 'http://sourceforge.net/apps/mediawiki/mlkit'
2013-08-06 16:21:57 +00:00
url 'http://downloads.sourceforge.net/project/mlkit/mlkit-4.3.7/mlkit-4.3.7.tgz'
sha1 '7c1f69f0cde271f50776d33b194699b403bab598'
depends_on :autoconf => :build
depends_on 'mlton' => :build
depends_on :tex
depends_on 'gmp'
def install
system "./autobuild; true"
system "./configure", "--prefix=#{prefix}"
ENV.m32
system "make mlkit"
system "make mlkit_libs"
system "make install"
end
test do
system "#{bin}/mlkit", "-V"
end
end