-
Notifications
You must be signed in to change notification settings - Fork 10
57 lines (53 loc) · 4.97 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
class HazelcastManagementCenterAT552 < Formula
desc "Tool to run Hazelcast Management Center"
homepage "https://github.com/hazelcast/hazelcast-command-line"
version "5.5.2"
url "https://repository.hazelcast.com/download/management-center/hazelcast-management-center-5.5.2.tar.gz"
sha256 "2568fde2274d9f1920d191362454a0616dff365ca36ffdb618dc06d8c877e1ed"
conflicts_with "[email protected]", because: "you can install only a single hazelcast-management-center package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast-management-center package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast-management-center package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast-management-center package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast-management-center package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast-management-center package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast-management-center package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast-management-center package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast-management-center package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast-management-center package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast-management-center package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast-management-center package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast-management-center package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast-management-center package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast-management-center package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast-management-center package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast-management-center package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast-management-center package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast-management-center package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast-management-center package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast-management-center package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast-management-center package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast-management-center package"
conflicts_with "hazelcast-management-center-5.5", because: "you can install only a single hazelcast-management-center package"
conflicts_with "hazelcast-management-center-5.4", because: "you can install only a single hazelcast-management-center package"
conflicts_with "hazelcast-management-center-5.3", because: "you can install only a single hazelcast-management-center package"
conflicts_with "hazelcast-management-center-5.2", because: "you can install only a single hazelcast-management-center package"
conflicts_with "hazelcast-management-center-5.1", because: "you can install only a single hazelcast-management-center package"
conflicts_with "hazelcast-management-center-5.0", because: "you can install only a single hazelcast-management-center package"
conflicts_with "hazelcast-management-center-snapshot", because: "you can install only a single hazelcast-management-center package"
conflicts_with "hazelcast-management-center", because: "you can install only a single hazelcast-management-center package"
depends_on "openjdk@21" => :recommended
def install
libexec.install Dir["*"]
Dir["#{libexec}/bin/*mc*"].each do |path|
executable_name = File.basename(path)
if executable_name.end_with? ".bat"
next
end
(bin/executable_name).write_env_script libexec/"bin/#{executable_name}", Language::Java.overridable_java_home_env
end
prefix.install_metafiles
end
def post_install
exec "echo Hazelcast Management Center has been installed."
end
end