summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2016-05-22 03:14:13 +1000
committerMichael Palimaka <kensington@gentoo.org>2016-05-22 03:14:25 +1000
commit6495c5e0c87f6e6a3d1a3f4bc5a900a989e2fb33 (patch)
tree7ec979cd7f097168de243dbc61a1ba2444cd5b31 /sys-apps/msr-tools
parentprofiles: Fix a typo in linguas.desc and add "locale" consistently. (diff)
downloadgentoo-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')
-rw-r--r--sys-apps/msr-tools/Manifest1
-rw-r--r--sys-apps/msr-tools/msr-tools-1.3.ebuild30
2 files changed, 31 insertions, 0 deletions
diff --git a/sys-apps/msr-tools/Manifest b/sys-apps/msr-tools/Manifest
index 19fc9289b823..b5a69d43d64a 100644
--- a/sys-apps/msr-tools/Manifest
+++ b/sys-apps/msr-tools/Manifest
@@ -1,2 +1,3 @@
DIST msr-tools-1.2.tar.gz 3382 SHA256 5184cdcabd3e88e37023a5ca5a1c3d5cac22f17c7f2e47023336738209f1e94a SHA512 5f4265a1ab4b2dd78e7e964e2f3eb26997ccf1eac8abb273b18ffc9e5f6671c4983d99b8f734ef6b80a82c3eb75b672fbb4769f84e5df8a398f835f5f6194971 WHIRLPOOL ce5bbd25a1392d864288141df972af1f71062e6a11e819d28b6236890cdf6d92c63245a2a76c533f2c708ec8bcb847d1f7a93532f00fa687aae8c060f99c4b33
+DIST msr-tools-1.3.zip 7693 SHA256 f9457b5340f5f274da4239a461f0db6b514142b40461559d9c6150f05aab1d1e SHA512 9605eed0b6211d0ecbe48a14d66b5d61965770f249c5c1b15416d4f2e9a37a68ecfde171077c3acc74bb6b951749bcff186acbb4d6d8a3051695d2d97c0e332b WHIRLPOOL 94442d0ecf36e1c2b21e7658dbf02d9c0516a5e83e3998fd77e56f175e1190184106fad3327c79e895c7e84ba28c74dfcf8ba4d5c8356e9c2e82760b09e9b45a
DIST msr-tools_1.2-3.diff.gz 2276 SHA256 da0f4e9f4822a1b715190f4302f4cdeeb6545da7daebf82ab8ea299d62f1593c SHA512 eeaa35e45356042cb93ce0d1473dfebacbe9cf9099498827220bd5ec0036c88ee5c9842d602b5d147b2a0f2030358e9a02cec5bc77e4eb45e23b7ff2804fd6bd WHIRLPOOL 8e32d3adc4396e2136a96dc507495029b0d03105810a9bc08abe15f5c48db39ff30b432f928c19796b0fb885122d8775727a23a140bf7e4ddaf2258d4cef311b
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
+}