forked from pivotal-legacy/homebrew-tap
-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (24 loc) · 979 Bytes
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
require 'formula'
class GemfireAT98 < Formula
homepage 'http://www.pivotal.io/big-data/pivotal-gemfire'
url 'http://download.pivotal.com.s3.amazonaws.com/gemfire/9.8.4/pivotal-gemfire-9.8.4.tgz'
sha256 '54a20cd7c899e92a1dcc5932ff79b7cf724b2ba305d3bd25409aa7fbd946fb44'
version '9.8.4'
bottle :unneeded
depends_on :java => "1.8"
def install
rm_f "bin/gfsh.bat"
prefix.install %w{ Pivotal-EULA Pivotal-OSL }
bash_completion.install "bin/gfsh-completion.bash" => "gfsh"
libexec.install Dir["*"]
(bin/"gfsh").write_env_script libexec/"bin/gfsh", Language::Java.java_home_env("1.8")
end
def caveats; <<~EOS
By installing, you agree to comply with the license at https://network.pivotal.io/pivotal_software_eula. If you disagree with these terms, please uninstall by typing "brew uninstall gemfire" in your terminal window.
Usage:
gfsh
Documentation:
http://gemfire.docs.pivotal.io/index.html
EOS
end
end