thrift: style nits
Closes Homebrew/homebrew#44826. Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
This commit is contained in:
parent
3b2b3b04de
commit
b9126b4d29
1 changed files with 3 additions and 4 deletions
|
@ -44,11 +44,11 @@ class Thrift < Formula
|
|||
option "with-php", "Install PHP binding"
|
||||
option "with-libevent", "Install nonblocking server libraries"
|
||||
|
||||
depends_on "bison" => :build
|
||||
depends_on "boost"
|
||||
depends_on "openssl"
|
||||
depends_on "libevent" => :optional
|
||||
depends_on :python => :optional
|
||||
depends_on "bison" => :build
|
||||
|
||||
def install
|
||||
system "./bootstrap.sh" unless build.stable?
|
||||
|
@ -77,13 +77,12 @@ class Thrift < Formula
|
|||
system "make", "install"
|
||||
end
|
||||
|
||||
def caveats
|
||||
<<-EOS.undent
|
||||
def caveats; <<-EOS.undent
|
||||
To install Ruby binding:
|
||||
gem install thrift
|
||||
|
||||
To install PHP extension for e.g. PHP 5.5:
|
||||
brew install homebrew/php/php55-thrift
|
||||
EOS
|
||||
EOS
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue