From 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 14 Jul 2018 21:03:06 +0100 Subject: gentoo resync : 14.07.2018 --- app-admin/cpulimit/cpulimit-2.4.ebuild | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 app-admin/cpulimit/cpulimit-2.4.ebuild (limited to 'app-admin/cpulimit/cpulimit-2.4.ebuild') diff --git a/app-admin/cpulimit/cpulimit-2.4.ebuild b/app-admin/cpulimit/cpulimit-2.4.ebuild new file mode 100644 index 000000000000..72e81d6e2ab9 --- /dev/null +++ b/app-admin/cpulimit/cpulimit-2.4.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit toolchain-funcs + +DESCRIPTION="Limits the CPU usage of a process" +HOMEPAGE="http://cpulimit.sourceforge.net" +SRC_URI="mirror://sourceforge/limitcpu/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +DEPEND="" +RDEPEND="" + +src_prepare() { + tc-export CC + # set correct VERSION + #sed -i -e "/^#define VERSION/s@[[:digit:]\.]\+\$@${PV}@" cpulimit.c \ + # || die 'sed on VERSION string failed' + + default +} + +src_install() { + local DOCS=( CHANGELOG README ) + dosbin ${PN} + doman ${PN}.1 + einstalldocs +} -- cgit v1.2.3