* [gentoo-commits] repo/proj/guru:dev commit in: app-misc/x86-64-level/
@ 2024-04-14 17:14 Marco Sirabella
0 siblings, 0 replies; only message in thread
From: Marco Sirabella @ 2024-04-14 17:14 UTC (permalink / raw
To: gentoo-commits
commit: cfaac8f8dd434697ae309a8e2d153030fbdb2045
Author: Marco Sirabella <marco <AT> sirabella <DOT> org>
AuthorDate: Sun Apr 14 17:01:57 2024 +0000
Commit: Marco Sirabella <marco <AT> sirabella <DOT> org>
CommitDate: Sun Apr 14 17:11:10 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=cfaac8f8
dapp-misc/x86-64-level: new package, add 0.2.2, live
Signed-off-by: Marco Sirabella <marco <AT> sirabella.org>
app-misc/x86-64-level/Manifest | 1 +
app-misc/x86-64-level/metadata.xml | 12 +++++++++++
app-misc/x86-64-level/x86-64-level-0.2.2.ebuild | 27 +++++++++++++++++++++++++
app-misc/x86-64-level/x86-64-level-9999.ebuild | 27 +++++++++++++++++++++++++
4 files changed, 67 insertions(+)
diff --git a/app-misc/x86-64-level/Manifest b/app-misc/x86-64-level/Manifest
new file mode 100644
index 0000000000..03ac9b421e
--- /dev/null
+++ b/app-misc/x86-64-level/Manifest
@@ -0,0 +1 @@
+DIST x86-64-level-0.2.2.tar.gz 6313 BLAKE2B a64b9eb4e4aade0be856713df04818c7386caf41899dd9e3d2c4a6eea6b9558d14aa43d7876f1fa6b37740c844d8d1d810945bce607d046c2c4e08cb1837edbe SHA512 008b4510da135cc972e843fa23cddeef8fb926279f263c042c5875f03b54cc8b1f796d7c6db7574c10cc8612cd6d827588e5e892acb2ae0359401a540e7926e1
diff --git a/app-misc/x86-64-level/metadata.xml b/app-misc/x86-64-level/metadata.xml
new file mode 100644
index 0000000000..49f6688793
--- /dev/null
+++ b/app-misc/x86-64-level/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>marco@sirabella.org</email>
+ <name>Marco Sirabella</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">HenrikBengtsson/x86-64-level</remote-id>
+ <bugs-to>https://github.com/HenrikBengtsson/x86-64-level/issues</bugs-to>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/x86-64-level/x86-64-level-0.2.2.ebuild b/app-misc/x86-64-level/x86-64-level-0.2.2.ebuild
new file mode 100644
index 0000000000..288c54974c
--- /dev/null
+++ b/app-misc/x86-64-level/x86-64-level-0.2.2.ebuild
@@ -0,0 +1,27 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="Get the x86-64 Microarchitecture Level on the Current Machine"
+HOMEPAGE="https://github.com/HenrikBengtsson/x86-64-level"
+if [[ ${PV} == 9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/HenrikBengtsson/${PN}.git"
+else
+ SRC_URI="https://github.com/HenrikBengtsson/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64"
+fi
+
+LICENSE="CC-BY-SA-4.0"
+SLOT="0"
+
+RDEPEND="app-shells/bash"
+
+src_compile() {
+ :
+}
+
+src_install() {
+ dobin x86-64-level
+}
diff --git a/app-misc/x86-64-level/x86-64-level-9999.ebuild b/app-misc/x86-64-level/x86-64-level-9999.ebuild
new file mode 100644
index 0000000000..288c54974c
--- /dev/null
+++ b/app-misc/x86-64-level/x86-64-level-9999.ebuild
@@ -0,0 +1,27 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="Get the x86-64 Microarchitecture Level on the Current Machine"
+HOMEPAGE="https://github.com/HenrikBengtsson/x86-64-level"
+if [[ ${PV} == 9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/HenrikBengtsson/${PN}.git"
+else
+ SRC_URI="https://github.com/HenrikBengtsson/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64"
+fi
+
+LICENSE="CC-BY-SA-4.0"
+SLOT="0"
+
+RDEPEND="app-shells/bash"
+
+src_compile() {
+ :
+}
+
+src_install() {
+ dobin x86-64-level
+}
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2024-04-14 17:14 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-14 17:14 [gentoo-commits] repo/proj/guru:dev commit in: app-misc/x86-64-level/ Marco Sirabella
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox