homebrew-core/Formula/unison.rb
BrewTestBot 95884bae22 Formula files style updates.
Closes Homebrew/homebrew#42407.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-08-03 14:21:42 +01:00

25 lines
945 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 "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