2009-11-12 21:10:09 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Unison < Formula
|
2011-06-13 16:21:19 +00:00
|
|
|
url 'http://www.seas.upenn.edu/~bcpierce/unison//download/releases/unison-2.40.61/unison-2.40.61.tar.gz'
|
2009-11-12 21:10:09 +00:00
|
|
|
homepage 'http://www.cis.upenn.edu/~bcpierce/unison/'
|
2011-06-13 16:21:19 +00:00
|
|
|
md5 '9d48796b115704321c6a4a50dd0928ee'
|
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
|