summaryrefslogtreecommitdiff
path: root/dev-util/ccls/ccls-0.20201025.ebuild
blob: 3e2baf8b30495408e6ead142cad317be1d77cca2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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
}