aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Library/Formula/emacs-clang-complete-async.rb19
1 files changed, 19 insertions, 0 deletions
diff --git a/Library/Formula/emacs-clang-complete-async.rb b/Library/Formula/emacs-clang-complete-async.rb
new file mode 100644
index 000000000..142c01154
--- /dev/null
+++ b/Library/Formula/emacs-clang-complete-async.rb
@@ -0,0 +1,19 @@
+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