0471ae2e14
Closes Homebrew/homebrew#16513. Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
17 lines
500 B
Ruby
17 lines
500 B
Ruby
require 'formula'
|
|
|
|
class Unison < Formula
|
|
url 'http://www.seas.upenn.edu/~bcpierce/unison//download/releases/unison-2.40.102/unison-2.40.102.tar.gz'
|
|
homepage 'http://www.cis.upenn.edu/~bcpierce/unison/'
|
|
sha1 'bf18f64fa30bd04234e864d42190294e0d9a2910'
|
|
|
|
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
|