diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2016-05-17 08:29:32 +0100 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2016-05-17 08:29:32 +0100 |
commit | 76bb2a8a95ecfdb03602bb2b491478df98f86a54 (patch) | |
tree | b5b80038a001aedb1ba21c2c918c2384b41d85c2 /dev-util/include-what-you-use/include-what-you-use-3.8.ebuild | |
parent | net-fs/davfs2: bump to 1.5.4, eapi bump, add nls flag, update license (diff) | |
download | gentoo-76bb2a8a95ecfdb03602bb2b491478df98f86a54.tar.gz gentoo-76bb2a8a95ecfdb03602bb2b491478df98f86a54.tar.bz2 gentoo-76bb2a8a95ecfdb03602bb2b491478df98f86a54.zip |
dev-util/include-what-you-use: bump up to 3.8 (upstream 0.6), bug #583172
Reported-by: mbartoszkiewicz at gmail.com
Bug: https://bugs.gentoo.org/583172
Package-Manager: portage-2.3.0_rc1
Diffstat (limited to 'dev-util/include-what-you-use/include-what-you-use-3.8.ebuild')
-rw-r--r-- | dev-util/include-what-you-use/include-what-you-use-3.8.ebuild | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/dev-util/include-what-you-use/include-what-you-use-3.8.ebuild b/dev-util/include-what-you-use/include-what-you-use-3.8.ebuild new file mode 100644 index 000000000000..4fbc1d111b10 --- /dev/null +++ b/dev-util/include-what-you-use/include-what-you-use-3.8.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +inherit cmake-utils flag-o-matic + +WEIRD_UPSTREAM_VERSION=0.6 + +DESCRIPTION="find unused include directives in C/C++ programs" +HOMEPAGE="http://include-what-you-use.org/" +SRC_URI="http://include-what-you-use.org/downloads/${PN}-${WEIRD_UPSTREAM_VERSION}.src.tar.gz -> ${P}.src.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND="=sys-devel/llvm-3.8* + =sys-devel/clang-3.8* +" +DEPEND="${RDEPEND}" + +S=${WORKDIR}/${PN} + +src_configure() { + append-libs -L$(llvm-config --libdir) + + local mycmakeargs=( + -DLLVM_PATH=$(llvm-config --libdir) + ) + cmake-utils_src_configure +} |