tee-clc: depend on openjdk

master
Markus Reiter 2020-02-06 00:50:20 +01:00 committed by Alexander Bayandin
parent 5a2275071f
commit 6bea463e48
1 changed files with 3 additions and 2 deletions

View File

@ -3,17 +3,18 @@ class TeeClc < Formula
homepage "https://github.com/Microsoft/team-explorer-everywhere"
url "https://github.com/Microsoft/team-explorer-everywhere/releases/download/14.134.0/TEE-CLC-14.134.0.zip"
sha256 "af4b7123a09475ff03a3f5662df3de614df2f4acc33df16cdab307b5fb6d7dc7"
revision 1
bottle :unneeded
depends_on :java => "1.6+"
depends_on "openjdk"
conflicts_with "tiny-fugue", :because => "both install a `tf` binary"
def install
libexec.install "tf", "lib"
(libexec/"native").install "native/macosx"
bin.write_exec_script libexec/"tf"
(bin/"tf").write_env_script libexec/"tf", :JAVA_HOME => Formula["openjdk"].opt_prefix
prefix.install "ThirdPartyNotices.html"
share.install "help"