hbase 0.98.0

Closes Homebrew/homebrew#27748.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
Kashif Rasul 2014-03-21 00:06:08 +01:00 committed by Mike McQuaid
parent 4eab37afd6
commit a29e8a72b6

View file

@ -2,20 +2,14 @@ require 'formula'
class Hbase < Formula
homepage 'http://hbase.apache.org'
url 'http://www.apache.org/dyn/closer.cgi?path=hbase/hbase-0.94.16/hbase-0.94.16.tar.gz'
sha1 '32dd12ccf9ae46ec38e31b5a08900a0c576c874a'
devel do
url 'http://www.apache.org/dyn/closer.cgi?path=hbase/hbase-0.96.1.1/hbase-0.96.1.1-hadoop1-bin.tar.gz'
sha1 'b0aba57e9b5a797ec2f9208457d4b02bbbecbb5a'
end
url 'http://www.apache.org/dyn/closer.cgi?path=hbase/hbase-0.98.0/hbase-0.98.0-hadoop2-bin.tar.gz'
sha1 '95cbaf1703a3f4719f67ff0e2d3247155b49fccc'
depends_on 'hadoop'
def install
rm_f Dir["bin/*.bat"]
rm_f Dir["bin/*.cmd", "conf/*.cmd"]
libexec.install %w[bin conf docs lib hbase-webapps]
libexec.install Dir['*.jar']
bin.write_exec_script Dir["#{libexec}/bin/*"]
inreplace "#{libexec}/conf/hbase-env.sh",