/[gentoo-x86]/app-admin/cpulimit/cpulimit-1.1.ebuild
Gentoo

Contents of /app-admin/cpulimit/cpulimit-1.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Mon Sep 14 21:02:40 2009 UTC (5 years ago) by volkmar
Branch: MAIN
Changes since 1.6: +3 -3 lines
Keywording for ppc.
(Portage version: 14103-svn/cvs/Linux ppc)

1 # Copyright 1999-2009 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-admin/cpulimit/cpulimit-1.1.ebuild,v 1.6 2008/10/23 01:59:34 flameeyes Exp $
4
5 inherit eutils toolchain-funcs
6
7 DESCRIPTION="Limits the CPU usage of a process"
8 HOMEPAGE="http://cpulimit.sourceforge.net"
9 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
10
11 LICENSE="GPL-2"
12 SLOT="0"
13 KEYWORDS="amd64 ~ppc x86"
14 IUSE=""
15
16 DEPEND=""
17
18 src_unpack() {
19 unpack ${A}
20 cd "${S}"
21 epatch "${FILESDIR}/${P}-makefile.patch"
22 }
23
24 src_compile() {
25 emake CC="$(tc-getCC)" || die "emake failed"
26 }
27
28 src_install() {
29 dosbin cpulimit
30 doman "${FILESDIR}/cpulimit.8"
31 }

  ViewVC Help
Powered by ViewVC 1.1.20