homebrew-core/Formula/unison.rb
awang 74c6d290de rename objective-caml to ocaml
Follow-up to  https://github.com/Homebrew/homebrew/pull/42851 (rename
objective-caml formula to ocaml).
Renames formulas using/depending on ocaml in the main homebrew library

Closes Homebrew/homebrew#43523.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-09-04 14:16:47 +08:00

25 lines
936 B
Ruby

class Unison < Formula
desc "Unison file synchronizer"
homepage "https://www.cis.upenn.edu/~bcpierce/unison/"
url "https://www.seas.upenn.edu/~bcpierce/unison//download/releases/stable/unison-2.48.3.tar.gz"
sha256 "f40d3cfbe82078d79328b51acab3e5179f844135260c2f4710525b9b45b15483"
bottle do
cellar :any
revision 1
sha256 "b4f4ebf0db23e5aa52528ec12c6dd84315ed36e4894cefba9c3c85e293ca9350" => :yosemite
sha256 "790d915ca2e98518227626ad2ce91b53f60ce584f4ca8c8392c30a4917e2e167" => :mavericks
sha256 "dc4dcbeb2e2f224f9fffede14f8d3c7c220f032023b83626b75409707e93df35" => :mountain_lion
end
depends_on "ocaml" => :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