blob: 31ce47b6ce06395d18a1819f942d1c354249b39d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/atop/atop-1.9.ebuild,v 1.4 2004/06/24 21:58:37 agriffis Exp $
DESCRIPTION="Resource-specific view of processes"
SRC_URI="ftp://ftp.atcomputing.nl/pub/tools/linux/${P}.tar.gz
mirror://gentoo/${P}-initscript"
HOMEPAGE="http://freshmeat.net/releases/112061/"
LICENSE="GPL-2"
SLOT="0"
DEPEND="sys-apps/acct"
KEYWORDS="~x86 amd64"
src_unpack() {
unpack ${A}
cd ${S}
mv ${S}/atop.init ${S}/atop.init.old
cp ${DISTDIR}/${P}-initscript ${S}/atop.init
}
src_compile() {
emake || die
}
src_install () {
make DESTDIR=${D} INIPATH=/etc/init.d install || die
# Install documentation.
dodoc README
}
|