766ed61fdb
Closes Homebrew/homebrew#32735. Closes Homebrew/homebrew#32736. Signed-off-by: Tim D. Smith <git@tim-smith.us>
25 lines
816 B
Ruby
25 lines
816 B
Ruby
require 'formula'
|
|
|
|
class Unison < Formula
|
|
homepage 'http://www.cis.upenn.edu/~bcpierce/unison/'
|
|
url 'http://www.seas.upenn.edu/~bcpierce/unison//download/releases/unison-2.40.102/unison-2.40.102.tar.gz'
|
|
sha1 'bf18f64fa30bd04234e864d42190294e0d9a2910'
|
|
|
|
bottle do
|
|
cellar :any
|
|
sha1 "7ba71bfded9c6a3cf8097f3e293d0d5c43200ec8" => :mavericks
|
|
sha1 "b8a34310e3e8041756babc54661e3748821e0c1b" => :mountain_lion
|
|
sha1 "478ad4ac7d5e5f6d990dbf8e8576c5bd3f81c9cd" => :lion
|
|
end
|
|
|
|
depends_on 'objective-caml' => :build
|
|
|
|
def install
|
|
ENV.j1
|
|
ENV.delete "CFLAGS" # ocamlopt reads CFLAGS but doesn't understand common options
|
|
ENV.delete "NAME" # https://github.com/Homebrew/homebrew/issues/28642
|
|
system "make ./mkProjectInfo"
|
|
system "make UISTYLE=text"
|
|
bin.install 'unison'
|
|
end
|
|
end
|