homebrew-core/Formula/emacs-clang-complete-async.rb
Yasuyuki Oka 7ef1cf5f54 New formula: emacs-clang-complete-async
emacs-clang-complete-async is an emacs extension to complete C and C++
code, it uses libclang to parse the source code on the fly and provides
completion candidates to auto-complete.

Closes Homebrew/homebrew#19449.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-08-05 14:19:17 -07:00

19 lines
569 B
Ruby

require 'formula'
class EmacsClangCompleteAsync < Formula
homepage 'https://github.com/Golevka/emacs-clang-complete-async'
url 'https://github.com/Golevka/emacs-clang-complete-async/archive/v0.5.zip'
sha1 'a95ad0d2336548a41049358cac4c1dfb29561349'
head 'https://github.com/Golevka/emacs-clang-complete-async.git'
option 'with-elisp', 'Include Emacs lisp package'
depends_on 'llvm' => 'with-clang'
def install
system "make"
bin.install "clang-complete"
share.install "auto-complete-clang-async.el" if build.include? 'with-elisp'
end
end