summaryrefslogtreecommitdiff
blob: 58e645476adf8e9463cbe74b5667a8e3db615504 (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
# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=6

inherit cmake-utils

DESCRIPTION="Intel(R) Processor Trace decoder library"
HOMEPAGE="https://github.com/01org/processor-trace"
SRC_URI="https://github.com/01org/processor-trace/archive/v${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="BSD"
SLOT=0
KEYWORDS="-* ~amd64"
IUSE="doc test"

DEPEND="doc? ( app-text/pandoc )"

src_configure() {
	local mycmakeargs=(
		-DMAN=$(usex doc)
		-DPTUNIT=$(usex test)
	)

	cmake-utils_src_configure
}