2009-11-12 21:10:09 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Unison < Formula
|
|
|
|
homepage 'http://www.cis.upenn.edu/~bcpierce/unison/'
|
2013-01-27 23:43:34 +00:00
|
|
|
url 'http://www.seas.upenn.edu/~bcpierce/unison//download/releases/unison-2.40.102/unison-2.40.102.tar.gz'
|
2012-12-11 03:28:44 +00:00
|
|
|
sha1 'bf18f64fa30bd04234e864d42190294e0d9a2910'
|
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
|