blob: 2db19ca797cfc13ef617581f27eaf9b3ee03a119 (
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
28
|
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
CONFIG_CHECK="~X86_CPUID ~X86_MSR"
inherit autotools linux-info
EGIT_COMMIT="eec71d977a83f8dc76bc3ccc6de5cbd3be378572"
DESCRIPTION="Utilities allowing the read and write of CPU model-specific registers (MSR)"
HOMEPAGE="https://github.com/intel/msr-tools"
SRC_URI="https://github.com/intel/msr-tools/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${PN}-${EGIT_COMMIT}"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="amd64 x86"
src_prepare() {
default
eautoreconf
}
pkg_postinst() {
einfo "Be sure that before using msr-tools utilities Linux kernel modules"
einfo "cpuid.ko and msr.ko are loaded."
}
|