guru/app-misc/x86-64-level/x86-64-level-0.2.2.ebuild
Marco Sirabella cfaac8f8dd
dapp-misc/x86-64-level: new package, add 0.2.2, live
Signed-off-by: Marco Sirabella <marco@sirabella.org>
2024-04-14 13:11:10 -04:00

28 lines
586 B
Bash

# 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
}