1 |
commit: 817e4db01952b40fe2f59c79b5d5d78cfd5424eb |
2 |
Author: David Michael <fedora.dm0 <AT> gmail <DOT> com> |
3 |
AuthorDate: Mon Jun 14 17:10:00 2021 +0000 |
4 |
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jun 19 20:43:15 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=817e4db0 |
7 |
|
8 |
sys-apps/intel-performance-counter-monitor: EAPI 8 |
9 |
|
10 |
Package-Manager: Portage-3.0.20, Repoman-3.0.2 |
11 |
Signed-off-by: David Michael <fedora.dm0 <AT> gmail.com> |
12 |
Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org> |
13 |
|
14 |
.../intel-performance-counter-monitor-2.10.ebuild | 26 +++++++++------------- |
15 |
1 file changed, 10 insertions(+), 16 deletions(-) |
16 |
|
17 |
diff --git a/sys-apps/intel-performance-counter-monitor/intel-performance-counter-monitor-2.10.ebuild b/sys-apps/intel-performance-counter-monitor/intel-performance-counter-monitor-2.10.ebuild |
18 |
index db62c90558a..f3db85a77f6 100644 |
19 |
--- a/sys-apps/intel-performance-counter-monitor/intel-performance-counter-monitor-2.10.ebuild |
20 |
+++ b/sys-apps/intel-performance-counter-monitor/intel-performance-counter-monitor-2.10.ebuild |
21 |
@@ -1,7 +1,7 @@ |
22 |
# Copyright 1999-2021 Gentoo Authors |
23 |
# Distributed under the terms of the GNU General Public License v2 |
24 |
|
25 |
-EAPI=5 |
26 |
+EAPI=8 |
27 |
|
28 |
inherit fcaps |
29 |
|
30 |
@@ -19,28 +19,22 @@ KEYWORDS="~amd64" |
31 |
|
32 |
RDEPEND=">=sys-devel/gcc-4:*" |
33 |
|
34 |
-DEPEND="${RDEPEND} |
35 |
- sys-apps/sed" |
36 |
+DEPEND="${RDEPEND}" |
37 |
|
38 |
CONFIG_CHECK="~X86_MSR ~PERF_EVENTS" |
39 |
ERROR_X86_MSR="Intel Performance Counter Monitor, requires X86_MSR to be set in kernel config." |
40 |
|
41 |
S="${WORKDIR}/${MY_PN}-${MY_PV}" |
42 |
|
43 |
-src_prepare() { |
44 |
- sed -i 's/^#CXXFLAGS += -DPCM_USE_PERF/CXXFLAGS += -DPCM_USE_PERF/' Makefile || die |
45 |
-} |
46 |
- |
47 |
src_install() { |
48 |
- exeinto /usr/bin |
49 |
- newexe pcm.x pcm |
50 |
- newexe pcm-memory.x pcm-memory |
51 |
- newexe pcm-msr.x pcm-msr |
52 |
- newexe pcm-numa.x pcm-numa |
53 |
- newexe pcm-pcie.x pcm-pcie |
54 |
- newexe pcm-power.x pcm-power |
55 |
- newexe pcm-sensor.x pcm-sensor |
56 |
- newexe pcm-tsx.x pcm-tsx |
57 |
+ newbin pcm.x pcm |
58 |
+ newbin pcm-memory.x pcm-memory |
59 |
+ newbin pcm-msr.x pcm-msr |
60 |
+ newbin pcm-numa.x pcm-numa |
61 |
+ newbin pcm-pcie.x pcm-pcie |
62 |
+ newbin pcm-power.x pcm-power |
63 |
+ newbin pcm-sensor.x pcm-sensor |
64 |
+ newbin pcm-tsx.x pcm-tsx |
65 |
} |
66 |
|
67 |
pkg_postinst() { |