app-admin/mei-amt-check: Initial version
authorManuel Rüger <mrueg@gentoo.org>
Sun, 14 May 2017 12:14:25 +0000 (14:14 +0200)
committerManuel Rüger <mrueg@gentoo.org>
Sun, 14 May 2017 12:14:25 +0000 (14:14 +0200)
Package-Manager: Portage-2.3.5, Repoman-2.3.2

app-admin/mei-amt-check/Manifest [new file with mode: 0644]
app-admin/mei-amt-check/mei-amt-check-0_p20170513.ebuild [new file with mode: 0644]
app-admin/mei-amt-check/metadata.xml [new file with mode: 0644]

diff --git a/app-admin/mei-amt-check/Manifest b/app-admin/mei-amt-check/Manifest
new file mode 100644 (file)
index 0000000..fd69854
--- /dev/null
@@ -0,0 +1 @@
+DIST mei-amt-check-0_p20170513.tar.gz 10676 SHA256 e45ac72f59fc1c99a86c57cd45acecd8b9194a913d12c1eaa922f8eab241b57d SHA512 9c7ff98fd22b3304f7e1f0ff47c77698a4b003414db475b4945bb432d16a7ad6937a04bb96f64f4f260c0c2a3aac8249548e6aedf8d4cb85182c5018cd38e713 WHIRLPOOL b1321861981e1262505ed1db5d778910fab5767f10be5cce8cb569860c83622bafe7c9c3c17a390fd97c535f0860dea3e3e5982ccc1a6e874c2e99f37bf2929f
diff --git a/app-admin/mei-amt-check/mei-amt-check-0_p20170513.ebuild b/app-admin/mei-amt-check/mei-amt-check-0_p20170513.ebuild
new file mode 100644 (file)
index 0000000..b1a9c2b
--- /dev/null
@@ -0,0 +1,33 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit vcs-snapshot linux-info toolchain-funcs
+
+DESCRIPTION="AMT status checker"
+HOMEPAGE="https://github.com/mjg59/mei-amt-check/"
+COMMIT="15f084bf47484f9c86617d015d9b470aad10921c"
+SRC_URI="https://github.com/mjg59/mei-amt-check/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+CONFIG_CHECK="~INTEL_MEI_ME"
+ERROR_INTEL_MEI_ME="Need to activate INTEL_MEI_ME to run the tool"
+
+src_prepare() {
+       default
+       sed -i -e "/CC :=/d" Makefile || die
+}
+
+src_compile() {
+       CC=$(tc-getCC) emake all
+}
+
+src_install() {
+       dosbin ${PN}
+       dodoc README.md
+}
diff --git a/app-admin/mei-amt-check/metadata.xml b/app-admin/mei-amt-check/metadata.xml
new file mode 100644 (file)
index 0000000..e18b02f
--- /dev/null
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+  <maintainer type="person">
+         <email>mrueg@gentoo.org</email>
+         <name>Manuel Rüger</name>
+  </maintainer>
+  <upstream>
+    <remote-id type="github">mjg59/mei-amt-check</remote-id>
+  </upstream>
+</pkgmetadata>