-
Notifications
You must be signed in to change notification settings - Fork 10
/
hazelcast-5.5.rb
128 lines (123 loc) · 12.9 KB
/
hazelcast-5.5.rb
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
class Hazelcast55 < Formula
desc "Hazelcast is a streaming and memory-first application platform for fast, stateful, data-intensive workloads on-premises, at the edge or as a fully managed cloud service."
homepage "https://github.com/hazelcast/hazelcast-command-line"
url "https://repo.maven.apache.org/maven2/com/hazelcast/hazelcast-distribution/5.5.0/hazelcast-distribution-5.5.0.tar.gz"
sha256 "3139f07dbcd7be300fe1cd38e10364307d1bae515a97ea2162e3674f4f2e8eea"
conflicts_with "[email protected]", because: "you can install only a single hazelcast or hazelcast-enterprise package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast or hazelcast-enterprise package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast or hazelcast-enterprise package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast or hazelcast-enterprise package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast or hazelcast-enterprise package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast or hazelcast-enterprise package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast or hazelcast-enterprise package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast or hazelcast-enterprise package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast or hazelcast-enterprise package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast or hazelcast-enterprise package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast or hazelcast-enterprise package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast or hazelcast-enterprise package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast or hazelcast-enterprise package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast or hazelcast-enterprise package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast or hazelcast-enterprise package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast or hazelcast-enterprise package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast or hazelcast-enterprise package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast or hazelcast-enterprise package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast or hazelcast-enterprise package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast or hazelcast-enterprise package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast or hazelcast-enterprise package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast or hazelcast-enterprise package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast or hazelcast-enterprise package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast or hazelcast-enterprise package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast or hazelcast-enterprise package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast or hazelcast-enterprise package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast or hazelcast-enterprise package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast or hazelcast-enterprise package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast or hazelcast-enterprise package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast or hazelcast-enterprise package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast or hazelcast-enterprise package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast or hazelcast-enterprise package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast or hazelcast-enterprise package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast or hazelcast-enterprise package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast or hazelcast-enterprise package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast or hazelcast-enterprise package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast or hazelcast-enterprise package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast or hazelcast-enterprise package"
conflicts_with "hazelcast-enterprise", because: "you can install only a single hazelcast or hazelcast-enterprise package"
conflicts_with "hazelcast-enterprise-snapshot", because: "you can install only a single hazelcast or hazelcast-enterprise package"
conflicts_with "hazelcast-enterprise-5.5", because: "you can install only a single hazelcast or hazelcast-enterprise package"
conflicts_with "hazelcast-enterprise-5.4", because: "you can install only a single hazelcast or hazelcast-enterprise package"
conflicts_with "hazelcast-enterprise-5.3", because: "you can install only a single hazelcast or hazelcast-enterprise package"
conflicts_with "hazelcast-enterprise-5.2", because: "you can install only a single hazelcast or hazelcast-enterprise package"
conflicts_with "hazelcast-enterprise-5.1", because: "you can install only a single hazelcast or hazelcast-enterprise package"
conflicts_with "hazelcast-enterprise-5.0", because: "you can install only a single hazelcast or hazelcast-enterprise package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast or hazelcast-enterprise package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast or hazelcast-enterprise package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast or hazelcast-enterprise package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast or hazelcast-enterprise package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast or hazelcast-enterprise package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast or hazelcast-enterprise package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast or hazelcast-enterprise package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast or hazelcast-enterprise package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast or hazelcast-enterprise package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast or hazelcast-enterprise package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast or hazelcast-enterprise package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast or hazelcast-enterprise package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast or hazelcast-enterprise package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast or hazelcast-enterprise package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast or hazelcast-enterprise package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast or hazelcast-enterprise package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast or hazelcast-enterprise package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast or hazelcast-enterprise package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast or hazelcast-enterprise package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast or hazelcast-enterprise package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast or hazelcast-enterprise package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast or hazelcast-enterprise package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast or hazelcast-enterprise package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast or hazelcast-enterprise package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast or hazelcast-enterprise package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast or hazelcast-enterprise package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast or hazelcast-enterprise package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast or hazelcast-enterprise package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast or hazelcast-enterprise package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast or hazelcast-enterprise package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast or hazelcast-enterprise package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast or hazelcast-enterprise package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast or hazelcast-enterprise package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast or hazelcast-enterprise package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast or hazelcast-enterprise package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast or hazelcast-enterprise package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast or hazelcast-enterprise package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast or hazelcast-enterprise package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast or hazelcast-enterprise package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast or hazelcast-enterprise package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast or hazelcast-enterprise package"
conflicts_with "hazelcast-5.4", because: "you can install only a single hazelcast or hazelcast-enterprise package"
conflicts_with "hazelcast-5.3", because: "you can install only a single hazelcast or hazelcast-enterprise package"
conflicts_with "hazelcast-5.2", because: "you can install only a single hazelcast or hazelcast-enterprise package"
conflicts_with "hazelcast-5.1", because: "you can install only a single hazelcast or hazelcast-enterprise package"
conflicts_with "hazelcast-5.0", because: "you can install only a single hazelcast or hazelcast-enterprise package"
conflicts_with "hazelcast", because: "you can install only a single hazelcast or hazelcast-enterprise package"
depends_on "openjdk@21" => :recommended
def install
libexec.install Dir["*"]
Dir["#{libexec}/bin/hz*"].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
etc.install "#{libexec}/config" => "hazelcast"
rm_rf libexec/"config"
libexec.install_symlink "#{etc}/hazelcast" => "config"
prefix.install_metafiles
inreplace libexec/"lib/hazelcast-download.properties", "hazelcastDownloadId=distribution", "hazelcastDownloadId=brew"
end
def caveats
<<~EOS
Configuration files have been placed in #{etc}/hazelcast.
EOS
end
def post_install
exec "echo Hazelcast has been installed."
end
end