summaryrefslogtreecommitdiff
path: root/dev-util/ccls/ccls-0.20201025.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/ccls/ccls-0.20201025.ebuild')
-rw-r--r--dev-util/ccls/ccls-0.20201025.ebuild25
1 files changed, 25 insertions, 0 deletions
diff --git a/dev-util/ccls/ccls-0.20201025.ebuild b/dev-util/ccls/ccls-0.20201025.ebuild
new file mode 100644
index 0000000..3e2baf8
--- /dev/null
+++ b/dev-util/ccls/ccls-0.20201025.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils llvm
+
+DESCRIPTION="C/C++/Objective-C language server"
+HOMEPAGE="https://github.com/MaskRay/ccls"
+SRC_URI="https://github.com/MaskRay/ccls/archive/${PV}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=">=dev-util/cmake-3.8"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+ local mycmakeargs=(
+ -DCMAKE_PREFIX_PATH="$(get_llvm_prefix)"
+ )
+ cmake-utils_src_configure
+}