mirror of
https://github.com/gentoo-mirror/guru.git
synced 2025-04-20 00:08:58 -04:00
28 lines
586 B
Bash
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
|
|
}
|