diff options
author | MCApollo <34170230+MCApollo@users.noreply.github.com> | 2019-04-20 20:49:46 -0500 |
---|---|---|
committer | MCApollo <34170230+MCApollo@users.noreply.github.com> | 2019-04-23 20:18:47 -0500 |
commit | 12335518ab39608d58370c85ff9f5384ad2aa5f7 (patch) | |
tree | 352d81f2a2de3f1252af732080ec0fde38c13b4d /homebrew/alluxio | |
parent | a2b26ad12d4fa12f0273645caf4be6d0b8b71e7c (diff) |
Ported in the homebrew-marauder for a hacky update/import system.
TODO: Maybe add a license & fix up messy code.
Diffstat (limited to 'homebrew/alluxio')
-rw-r--r-- | homebrew/alluxio/.beer | 24 | ||||
-rw-r--r-- | homebrew/alluxio/.make.sh-auto | 10 | ||||
-rw-r--r-- | homebrew/alluxio/_metadata/description | 1 | ||||
-rw-r--r-- | homebrew/alluxio/_metadata/homepage | 1 | ||||
-rw-r--r-- | homebrew/alluxio/_metadata/name | 1 | ||||
-rw-r--r-- | homebrew/alluxio/_metadata/version | 1 | ||||
-rwxr-xr-x | homebrew/alluxio/download.sh | 1 |
7 files changed, 39 insertions, 0 deletions
diff --git a/homebrew/alluxio/.beer b/homebrew/alluxio/.beer new file mode 100644 index 000000000..498eab589 --- /dev/null +++ b/homebrew/alluxio/.beer @@ -0,0 +1,24 @@ +{ + "name": "Alluxio", + "description": "Open Source Memory Speed Virtual Distributed Storage", + "url": "http://downloads.alluxio.org/downloads/files/1.8.1/alluxio-1.8.1-bin.tar.gz", + "mirror": null, + "homepage": "https://www.alluxio.org/", + "depends": [], + "resource": [], + "conflicts": [], + "patches": [], + "install": [ + "doc.install Dir[\"docs/*\"]", + "libexec.install Dir[\"*\"]", + "bin.write_exec_script Dir[\"#{libexec}/bin/*\"]", + "rm_rf Dir[\"#{etc}/alluxio/*\"]", + "(etc/\"alluxio\").install libexec/\"conf/alluxio-env.sh.template\" => \"alluxio-env.sh\"", + "ln_sf \"#{etc}/alluxio/alluxio-env.sh\", \"#{libexec}/conf/alluxio-env.sh\"", + "defaults = etc/\"alluxio/alluxio-site.properties\"", + "defaults.write(default_alluxio_conf) unless defaults.exist?", + "ln_sf \"#{etc}/alluxio/alluxio-site.properties\", \"#{libexec}/conf/alluxio-site.properties\"" + ], + "version": "1.8.1", + "file": "alluxio.rb" +}
\ No newline at end of file diff --git a/homebrew/alluxio/.make.sh-auto b/homebrew/alluxio/.make.sh-auto new file mode 100644 index 000000000..bc8ab2cd8 --- /dev/null +++ b/homebrew/alluxio/.make.sh-auto @@ -0,0 +1,10 @@ +pkg:setup +doc.install Dir["docs/*"] +libexec.install Dir["*"] +bin.write_exec_script Dir["#{libexec}/bin/*"] +rm_rf Dir["#{etc}/alluxio/*"] +(etc/"alluxio").install libexec/"conf/alluxio-env.sh.template" => "alluxio-env.sh" +ln_sf "#{etc}/alluxio/alluxio-env.sh", "#{libexec}/conf/alluxio-env.sh" +defaults = etc/"alluxio/alluxio-site.properties" +defaults.write(default_alluxio_conf) unless defaults.exist? +ln_sf "#{etc}/alluxio/alluxio-site.properties", "#{libexec}/conf/alluxio-site.properties" diff --git a/homebrew/alluxio/_metadata/description b/homebrew/alluxio/_metadata/description new file mode 100644 index 000000000..520124f6d --- /dev/null +++ b/homebrew/alluxio/_metadata/description @@ -0,0 +1 @@ +Open Source Memory Speed Virtual Distributed Storage diff --git a/homebrew/alluxio/_metadata/homepage b/homebrew/alluxio/_metadata/homepage new file mode 100644 index 000000000..814da8b97 --- /dev/null +++ b/homebrew/alluxio/_metadata/homepage @@ -0,0 +1 @@ +https://www.alluxio.org/ diff --git a/homebrew/alluxio/_metadata/name b/homebrew/alluxio/_metadata/name new file mode 100644 index 000000000..44f330add --- /dev/null +++ b/homebrew/alluxio/_metadata/name @@ -0,0 +1 @@ +Alluxio diff --git a/homebrew/alluxio/_metadata/version b/homebrew/alluxio/_metadata/version new file mode 100644 index 000000000..a8fdfda1c --- /dev/null +++ b/homebrew/alluxio/_metadata/version @@ -0,0 +1 @@ +1.8.1 diff --git a/homebrew/alluxio/download.sh b/homebrew/alluxio/download.sh new file mode 100755 index 000000000..01f5f9fc4 --- /dev/null +++ b/homebrew/alluxio/download.sh @@ -0,0 +1 @@ +wget http://downloads.alluxio.org/downloads/files/1.8.1/alluxio-1.8.1-bin.tar.gz
\ No newline at end of file |