diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2016-11-28 16:39:35 +0100 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2016-11-28 16:39:53 +0100 |
commit | 0a4c78b387a4693a78657642e4d49d9a2a46ed79 (patch) | |
tree | 9c5fada4174c7ec8caf2e64b9065046f7b252f4b /app-admin/cpulimit/cpulimit-2.4.ebuild | |
parent | dev-python/pyicu: bump to 1.9.5 (diff) | |
download | gentoo-0a4c78b387a4693a78657642e4d49d9a2a46ed79.tar.gz gentoo-0a4c78b387a4693a78657642e4d49d9a2a46ed79.tar.bz2 gentoo-0a4c78b387a4693a78657642e4d49d9a2a46ed79.zip |
app-admin/cpulimit: Bump to version 2.4
Package-Manager: portage-2.3.2
Diffstat (limited to 'app-admin/cpulimit/cpulimit-2.4.ebuild')
-rw-r--r-- | app-admin/cpulimit/cpulimit-2.4.ebuild | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/app-admin/cpulimit/cpulimit-2.4.ebuild b/app-admin/cpulimit/cpulimit-2.4.ebuild new file mode 100644 index 000000000000..225db27082fb --- /dev/null +++ b/app-admin/cpulimit/cpulimit-2.4.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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 +} |