summaryrefslogtreecommitdiff
blob: 5e70a10ca37ae266c717f23d1b5289a7858aac03 (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 Foundation
# 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
}