blob: f79bc799eb844d5b50e163c437857c39ec3bcd93 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
require 'formula'
class Mlkit < Formula
homepage 'http://sourceforge.net/apps/mediawiki/mlkit'
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
|