unison@2.40: remove
This commit is contained in:
parent
bdcd6f68ec
commit
56f8451b3d
2 changed files with 0 additions and 42 deletions
|
@ -1 +0,0 @@
|
|||
../Formula/unison.rb
|
|
@ -1,41 +0,0 @@
|
|||
class UnisonAT240 < Formula
|
||||
desc "Unison file synchronizer"
|
||||
homepage "https://www.cis.upenn.edu/~bcpierce/unison/"
|
||||
url "https://www.seas.upenn.edu/~bcpierce/unison/download/releases/unison-2.40.128/unison-2.40.128.tar.gz"
|
||||
sha256 "5a1ea828786b9602f2a42c2167c9e7643aba2c1e20066be7ce46de4779a5ca54"
|
||||
revision 1
|
||||
|
||||
bottle do
|
||||
cellar :any_skip_relocation
|
||||
sha256 "918042b6dbc2fef9966e031af831b8c58b79ca3efe9056c211dfd0bed1d7ef0e" => :high_sierra
|
||||
sha256 "d576e0581b5117b374127c0f6af6e402a4f3ebc7dcdf413c4352ed8695b78a11" => :sierra
|
||||
sha256 "a94cfdeb1b501a8b85a72fe1790edd339d3f65c86898a5d8729f596af87a66b7" => :el_capitan
|
||||
end
|
||||
|
||||
keg_only :versioned_formula
|
||||
|
||||
depends_on "ocaml" => :build
|
||||
depends_on "opam" => :build
|
||||
|
||||
def install
|
||||
ENV["OPAMYES"] = "1"
|
||||
ENV["OPAMROOT"] = Pathname.pwd/"opamroot"
|
||||
(Pathname.pwd/"opamroot").mkpath
|
||||
|
||||
system "opam", "init", "--no-setup"
|
||||
inreplace "opamroot/compilers/4.02.3/4.02.3/4.02.3.comp",
|
||||
'["./configure"', '["./configure" "-no-graph"'
|
||||
system "opam", "switch", "4.02.3"
|
||||
|
||||
ENV.deparallelize
|
||||
ENV.delete "CFLAGS" # ocamlopt reads CFLAGS but doesn't understand common options
|
||||
ENV.delete "NAME" # https://github.com/Homebrew/homebrew/issues/28642
|
||||
system "opam", "config", "exec", "--", "make", "./mkProjectInfo"
|
||||
system "opam", "config", "exec", "--", "make", "UISTYLE=text"
|
||||
bin.install "unison"
|
||||
end
|
||||
|
||||
test do
|
||||
system bin/"unison", "-version"
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue