-
Notifications
You must be signed in to change notification settings - Fork 10
51 lines (47 loc) · 4.18 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
class HazelcastManagementCenterAT54Snapshot < Formula
desc "Tool to run Hazelcast Management Center"
homepage "https://github.com/hazelcast/hazelcast-command-line"
version "5.4-SNAPSHOT"
url "https://repository.hazelcast.com/download/management-center/hazelcast-management-center-latest-snapshot.tar.gz"
sha256 "3bd09ee9eab5e90a9d4263666de19fbb924da95df032bb8ef9629fe17690c223"
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