2009-11-12 21:10:09 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Unison < Formula
|
2012-01-07 12:55:22 +00:00
|
|
|
url 'http://www.seas.upenn.edu/~bcpierce/unison/download/releases/unison-2.40.63/unison-2.40.63.tar.gz'
|
2009-11-12 21:10:09 +00:00
|
|
|
homepage 'http://www.cis.upenn.edu/~bcpierce/unison/'
|
2012-01-07 12:55:22 +00:00
|
|
|
md5 '3281207850cf6f0a17fe73f371893bd3'
|
2009-11-12 21:10:09 +00:00
|
|
|
|
|
|
|
depends_on 'objective-caml'
|
|
|
|
|
|
|
|
def install
|
|
|
|
ENV.j1
|
|
|
|
ENV.delete "CFLAGS" # ocamlopt reads CFLAGS but doesn't understand common options
|
2011-06-13 16:21:19 +00:00
|
|
|
system "make ./mkProjectInfo"
|
2009-11-12 21:10:09 +00:00
|
|
|
system "make UISTYLE=text"
|
|
|
|
bin.install 'unison'
|
|
|
|
end
|
|
|
|
end
|