blob: 3a8779c532a5a8cc447cd5ec29c2daf954150f6f [file] [log] [blame] [edit]
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit toolchain-funcs
# Get pure digit version number e.g. from 1.3v we will get "1.3".
PV=$(ver_cut 1-3)
DESCRIPTION="Daemon prevent the starvation of operating system threads in a Linux system"
HOMEPAGE="https://gitlab.com/rt-linux-tools/stalld"
REPO_NAME="stalld"
TARFILE="${REPO_NAME}-v${PV}.tar.gz"
SRC_URI="gs://chromeos-localmirror/distfiles/${TARFILE}"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="*"
RESTRICT="mirror"
SRC_DIR="${WORKDIR}/${REPO_NAME}-v${PV}"
S="${SRC_DIR}"
src_compile() {
emake CC="$(tc-getCC)"
}
src_install() {
dobin stalld
}