blob: 44a2a6b4b1efef6711d28f4c85ab18c9ed6ce1cb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
require 'formula'
class Unison < Formula
url 'http://www.seas.upenn.edu/~bcpierce/unison/download/releases/unison-2.40.63/unison-2.40.63.tar.gz'
homepage 'http://www.cis.upenn.edu/~bcpierce/unison/'
sha1 '645e70bc37a5d4e8e9ccb7bad065fc579b18cf75'
depends_on 'objective-caml'
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
|