summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2017-05-14 14:14:25 +0200
committerManuel Rüger <mrueg@gentoo.org>2017-05-14 14:14:25 +0200
commit0a7ba062a316790a813313c3854a1bb474a62649 (patch)
tree14411d73c02b8e14ecd0c96e6a3755d82beacaca /app-admin/mei-amt-check
parentapp-misc/mosquitto: Remove old (diff)
downloadgentoo-0a7ba062a316790a813313c3854a1bb474a62649.tar.gz
gentoo-0a7ba062a316790a813313c3854a1bb474a62649.tar.bz2
gentoo-0a7ba062a316790a813313c3854a1bb474a62649.zip
app-admin/mei-amt-check: Initial version
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'app-admin/mei-amt-check')
-rw-r--r--app-admin/mei-amt-check/Manifest1
-rw-r--r--app-admin/mei-amt-check/mei-amt-check-0_p20170513.ebuild33
-rw-r--r--app-admin/mei-amt-check/metadata.xml11
3 files changed, 45 insertions, 0 deletions
diff --git a/app-admin/mei-amt-check/Manifest b/app-admin/mei-amt-check/Manifest
new file mode 100644
index 000000000000..fd6985451ca6
--- /dev/null
+++ b/app-admin/mei-amt-check/Manifest
@@ -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
index 000000000000..b1a9c2b630ba
--- /dev/null
+++ b/app-admin/mei-amt-check/mei-amt-check-0_p20170513.ebuild
@@ -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
index 000000000000..e18b02f574c0
--- /dev/null
+++ b/app-admin/mei-amt-check/metadata.xml
@@ -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>