druid: remove options
This commit is contained in:
parent
4b6f11663d
commit
e9b0093361
1 changed files with 3 additions and 9 deletions
|
@ -3,11 +3,10 @@ class Druid < Formula
|
||||||
homepage "http://druid.io"
|
homepage "http://druid.io"
|
||||||
url "http://static.druid.io/artifacts/releases/druid-0.12.2-bin.tar.gz"
|
url "http://static.druid.io/artifacts/releases/druid-0.12.2-bin.tar.gz"
|
||||||
sha256 "951fffe2026cb2c7e219add5f4be15c993f34347f8af0873d19c72ccbb606f77"
|
sha256 "951fffe2026cb2c7e219add5f4be15c993f34347f8af0873d19c72ccbb606f77"
|
||||||
|
revision 1
|
||||||
|
|
||||||
bottle :unneeded
|
bottle :unneeded
|
||||||
|
|
||||||
option "with-mysql", "Build with mysql-metadata-storage plugin"
|
|
||||||
|
|
||||||
depends_on :java => "1.8"
|
depends_on :java => "1.8"
|
||||||
depends_on "zookeeper"
|
depends_on "zookeeper"
|
||||||
|
|
||||||
|
@ -37,13 +36,8 @@ class Druid < Formula
|
||||||
s.gsub! ":=var/druid/pids", ":=#{var}/druid/pids"
|
s.gsub! ":=var/druid/pids", ":=#{var}/druid/pids"
|
||||||
end
|
end
|
||||||
|
|
||||||
if build.with? "mysql"
|
resource("mysql-metadata-storage").stage do
|
||||||
resource("mysql-metadata-storage").stage do
|
(libexec/"extensions/mysql-metadata-storage").install Dir["*"]
|
||||||
(libexec/"extensions/mysql-metadata-storage").install Dir["*"]
|
|
||||||
end
|
|
||||||
else
|
|
||||||
inreplace libexec/"conf/druid/_common/common.runtime.properties",
|
|
||||||
", \"mysql-metadata-storage\"", ""
|
|
||||||
end
|
end
|
||||||
|
|
||||||
bin.install Dir["#{libexec}/bin/*.sh"]
|
bin.install Dir["#{libexec}/bin/*.sh"]
|
||||||
|
|
Loading…
Reference in a new issue