2009-11-12 21:10:09 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Unison < Formula
|
|
|
|
url 'http://www.seas.upenn.edu/~bcpierce/unison//download/releases/stable/unison-2.32.52.tar.gz'
|
|
|
|
homepage 'http://www.cis.upenn.edu/~bcpierce/unison/'
|
|
|
|
md5 '0701f095c1721776a0454b94607eda48'
|
|
|
|
|
|
|
|
depends_on 'objective-caml'
|
|
|
|
|
2010-11-16 15:38:35 +00:00
|
|
|
def patches
|
|
|
|
# this is used to fix the 64-bit build bug as described in http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=585453
|
|
|
|
{:p1 => 'http://git.debian.org/?p=pkg-ocaml-maint/packages/unison.git;a=blob_plain;f=debian/patches/debbug585453_mymap.dpatch;hb=5ae435235d324efe54057a29cda5753609a8ad3c'}
|
|
|
|
end
|
|
|
|
|
2009-11-12 21:10:09 +00:00
|
|
|
def install
|
|
|
|
ENV.j1
|
|
|
|
ENV.delete "CFLAGS" # ocamlopt reads CFLAGS but doesn't understand common options
|
|
|
|
system "make UISTYLE=text"
|
|
|
|
bin.install 'unison'
|
|
|
|
end
|
|
|
|
end
|