diff options
author | Michael Palimaka <kensington@gentoo.org> | 2016-05-22 03:14:13 +1000 |
---|---|---|
committer | Michael Palimaka <kensington@gentoo.org> | 2016-05-22 03:14:25 +1000 |
commit | 6495c5e0c87f6e6a3d1a3f4bc5a900a989e2fb33 (patch) | |
tree | 7ec979cd7f097168de243dbc61a1ba2444cd5b31 /sys-apps/msr-tools/msr-tools-1.3.ebuild | |
parent | profiles: Fix a typo in linguas.desc and add "locale" consistently. (diff) | |
download | gentoo-6495c5e0c87f6e6a3d1a3f4bc5a900a989e2fb33.tar.gz gentoo-6495c5e0c87f6e6a3d1a3f4bc5a900a989e2fb33.tar.bz2 gentoo-6495c5e0c87f6e6a3d1a3f4bc5a900a989e2fb33.zip |
sys-apps/msr-tools: version bump
Package-Manager: portage-2.2.28
Diffstat (limited to 'sys-apps/msr-tools/msr-tools-1.3.ebuild')
-rw-r--r-- | sys-apps/msr-tools/msr-tools-1.3.ebuild | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/sys-apps/msr-tools/msr-tools-1.3.ebuild b/sys-apps/msr-tools/msr-tools-1.3.ebuild new file mode 100644 index 000000000000..1ff4bdf91544 --- /dev/null +++ b/sys-apps/msr-tools/msr-tools-1.3.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +CONFIG_CHECK="~X86_MSR" +inherit eutils linux-info toolchain-funcs + +DESCRIPTION="Utilities allowing the read and write of CPU model-specific registers (MSR)" +HOMEPAGE="https://01.org/msr-tools" +SRC_URI="https://01.org/sites/default/files/downloads/${PN}/${P}.zip" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="app-arch/unzip" + +S=${WORKDIR}/${PN}-master + +src_compile() { + emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" +} + +src_install() { + dosbin rdmsr + dosbin wrmsr +} |