Skip to content
Browse files

unison-2.32

Added because Ubuntu does not yet include unison-2.40, and unison-2.32
speaks a different protocol.
  • Loading branch information...
1 parent d562cf0 commit 52fcb4c2fdaf6b89929ebfd044f22b9f49547035 @candlerb committed Nov 4, 2011
Showing with 36 additions and 0 deletions.
  1. +36 −0 Library/Formula/unison-2.32.rb
View
36 Library/Formula/unison-2.32.rb
@@ -0,0 +1,36 @@
+require 'formula'
+
+class Unison232 < Formula
+ url 'http://www.seas.upenn.edu/~bcpierce/unison//download/releases/unison-2.32.52/unison-2.32.52.tar.gz'
+ homepage 'http://www.cis.upenn.edu/~bcpierce/unison/'
+ md5 '0701f095c1721776a0454b94607eda48'
+
+ depends_on 'objective-caml'
+
+ def patches
+ #http://tech.groups.yahoo.com/group/unison-users/message/9348
+ #required for building 2.32.52 with ocamlc 3.12.x
+ DATA
+ end
+
+ def install
+ ENV.j1
+ ENV.delete "CFLAGS" # ocamlopt reads CFLAGS but doesn't understand common options
+ system "make ./mkProjectInfo"
+ system "make UISTYLE=text"
+ bin.install 'unison'
+ end
+end
+
+__END__
+--- unison-2.32.52/update.mli 2009-05-02 03:31:27.000000000 +0100
++++ unison-2.32.52/update.mli 2011-11-04 20:21:11.000000000 +0000
+@@ -1,7 +1,7 @@
+ (* Unison file synchronizer: src/update.mli *)
+ (* Copyright 1999-2009, Benjamin C. Pierce (see COPYING for details) *)
+
+-module NameMap : Map.S with type key = Name.t
++module NameMap : MyMap.S with type key = Name.t
+
+ type archive =
+ ArchiveDir of Props.t * archive NameMap.t

0 comments on commit 52fcb4c

Please sign in to comment.
Something went wrong with that request. Please try again.