Created
January 22, 2016 23:02
-
-
Save subak/c5c12121cbbfb6b8c22c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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_skip_relocation | |
revision 1 | |
sha256 "bdd87bd8da922dcafb207de183d7d1c4bc5deaab21ebe5b327da0d61ad404cf1" => :el_capitan | |
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 | |
ENV['PATH'] = "/usr/local/bin:#{ENV['PATH']}" | |
system "make ./mkProjectInfo" | |
system "make UISTYLE=text" | |
bin.install "unison" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment