diff options
Diffstat (limited to 'dev-libs/processor-trace/processor-trace-2.0.ebuild')
-rw-r--r-- | dev-libs/processor-trace/processor-trace-2.0.ebuild | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/dev-libs/processor-trace/processor-trace-2.0.ebuild b/dev-libs/processor-trace/processor-trace-2.0.ebuild new file mode 100644 index 000000000000..253935c1743f --- /dev/null +++ b/dev-libs/processor-trace/processor-trace-2.0.ebuild @@ -0,0 +1,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/2" +KEYWORDS="-* ~amd64" +IUSE="doc test" + +DEPEND="doc? ( app-text/pandoc )" + +src_configure() { + local mycmakeargs=( + -DMAN=$(usex doc) + -DPTUNIT=$(usex test) + ) + + cmake-utils_src_configure +} |