forked from pivotal-legacy/homebrew-tap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgemfirexd.rb
38 lines (31 loc) · 1.16 KB
/
gemfirexd.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
require 'formula'
class Gemfirexd < Formula
homepage 'http://www.pivotal.io/big-data/pivotal-hd'
url 'http://download.pivotal.com.s3.amazonaws.com/gemfirexd/1.3.0/Pivotal_GemFireXD_130_b48613_Linux.zip'
sha1 'bd2c6911f8a9b684a43e705e752e4c89cd0d2ef7'
version "1.3.0"
def install
# Remove Windows scripts
rm_rf Dir['**/*.bat']
# Install files
prefix.install %w{ EULA.txt lib/open_source_licenses-Pivotal_GemFireXD_1.3.txt}
libexec.install Dir['*']
bin.write_exec_script libexec/'bin/color'
bin.write_exec_script libexec/'bin/dataextractloader'
bin.write_exec_script libexec/'bin/dataextractor'
bin.write_exec_script libexec/'bin/sqlf'
bin.write_exec_script libexec/'bin/gfxd'
end
def caveats; <<-EOS.undent
By installing, you agree to comply with the license at http://www.pivotal.io/products/software-license-agreement. If you disagree with these terms, please uninstall by typing "brew uninstall gemfirexd" in your terminal window.
Usage:
color
dataextractloader
dataextractor
gfxd
sqlf
Documentation:
http://docs.pivotal.io/gemfirexd/index.html
EOS
end
end