app-admin/cpulimit - 3.1 (gentoo)

Search

Package Information

Description:
Limits the CPU usage of a process
Homepage:
https://cpulimit.sourceforge.net
License:
GPL-2

Ebuild Details

Version EAPI Keywords Slot
3.1 8 amd64 ~ppc ~riscv x86 0
View Raw Ebuild
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit toolchain-funcs

DESCRIPTION="Limits the CPU usage of a process"
HOMEPAGE="https://cpulimit.sourceforge.net"
SRC_URI="https://downloads.sourceforge.net/limitcpu/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~ppc ~riscv x86"

PATCHES=(
	"${FILESDIR}/${P}-makefile.patch"
)

src_compile() {
	emake CC=$(tc-getCC)
}

src_install() {
	emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
	dodoc CHANGELOG README
}

Manifest for 3.1

Type File Size Source URLs
DIST cpulimit-3.1.tar.gz 25446 bytes https://downloads.sourceforge.net/limitcpu/cpulimit-3.1.tar.gz