/[gentoo-x86]/dev-util/include-what-you-use/include-what-you-use-3.6.ebuild
Gentoo

Contents of /dev-util/include-what-you-use/include-what-you-use-3.6.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Wed Jun 10 20:38:47 2015 UTC (4 years, 4 months ago) by slyfox
Branch: MAIN
CVS Tags: HEAD
Version bump, bug #551546 by MichaƂ Bartoszkiewicz.

(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 611FF3AA)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-util/include-what-you-use/include-what-you-use-3.5.ebuild,v 1.1 2014/11/30 18:03:40 slyfox Exp $
4
5 EAPI=5
6 inherit eutils cmake-utils flag-o-matic
7
8 WEIRD_UPSREAM_VERSION=0.4
9
10 DESCRIPTION="find unused include directives in C/C++ programs"
11 HOMEPAGE="https://code.google.com/p/include-what-you-use/"
12 SRC_URI="http://include-what-you-use.org/downloads/${PN}-${WEIRD_UPSREAM_VERSION}.src.tar.gz -> ${P}.src.tar.gz"
13
14 LICENSE="GPL-2"
15 SLOT="0"
16 KEYWORDS="~amd64 ~x86"
17
18 RDEPEND="=sys-devel/llvm-3.6*
19 =sys-devel/clang-3.6*"
20 DEPEND="${RDEPEND}"
21
22 S=${WORKDIR}/${PN}
23
24 src_prepare() {
25 epatch_user
26 }
27
28 src_configure() {
29 append-ldflags -L$(llvm-config --libdir)
30
31 local mycmakeargs=(
32 -DLLVM_PATH=$(llvm-config --libdir)
33 )
34 cmake-utils_src_configure
35 }

  ViewVC Help
Powered by ViewVC 1.1.20