blob: db078265d3a4b277e12669318fbbb9ad5f7cdefe (
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
26
27
28
29
30
31
|
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=6
inherit cmake-utils
DESCRIPTION="Static code analysis tool for C, C++ and Objective-C code"
HOMEPAGE="http://oclint.org/"
SRC_URI="https://github.com/oclint/oclint/archive/v${PV}.tar.gz"
LICENSE="Modified BSD License"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND=">=sys-devel/llvm-5.0.0
dev-util/ninja"
src_unpack() {
default
}
src_configure() {
CMAKE_USE_DIR="${S}"/oclint-core cmake-utils_src_configure
}
src_install() {
dobin oclint
}
|