summaryrefslogtreecommitdiff
blob: 9d3e619666935f65125cf7df14677e98e06f248d (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
# Copyright 1999-2019 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/2"
KEYWORDS="-* ~amd64"
IUSE="doc test"
RESTRICT="!test? ( test )"

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

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

	cmake-utils_src_configure
}