gentoo-ebuilds/sys-apps/msr-tools/msr-tools-1.3_p20170320.ebuild
Sam James b8f392370d
sys-apps/msr-tools: Stabilize 1.3_p20170320 x86, #913066
Signed-off-by: Sam James <sam@gentoo.org>
2023-09-03 05:53:29 +01:00

28 lines
722 B
Bash

# 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."
}