summaryrefslogtreecommitdiff
path: root/sys-apps/collectl/collectl-4.3.1-r1.ebuild
blob: a4aa255f26f70b81f882787b0c86935234485077 (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
32
33
34
35
36
37
38
39
40
41
42
43
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DESCRIPTION="Performance monitoring tool capable of interactive reporting and logging to disk"
HOMEPAGE="http://collectl.sourceforge.net/"
SRC_URI="mirror://sourceforge/collectl/${P}.src.tar.gz"

LICENSE="GPL-2 Artistic"
SLOT="0"
KEYWORDS="~alpha amd64 ~ia64 x86"

RDEPEND="
	>=dev-lang/perl-5.8.8
	virtual/perl-Time-HiRes
	>=dev-perl/Archive-Zip-1.20
	sys-apps/ethtool
	sys-apps/pciutils
"

HTML_DOCS=( docs/. )

src_install() {
	dodoc README RELEASE-collectl

	dobin collectl colmux

	insinto /etc
	doins collectl.conf

	insinto /usr/share/collectl
	doins *.ph *.std

	insinto /usr/share/collectl/util
	insopts -m755
	doins client.pl

	doman man1/*
	einstalldocs

	newinitd "${FILESDIR}"/collectl.initd-2 collectl
}