summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/collectl/ChangeLog7
-rw-r--r--sys-apps/collectl/collectl-2.5.0.ebuild38
2 files changed, 44 insertions, 1 deletions
diff --git a/sys-apps/collectl/ChangeLog b/sys-apps/collectl/ChangeLog
index 3196fe5e1bb7..8fe9a8a6ac54 100644
--- a/sys-apps/collectl/ChangeLog
+++ b/sys-apps/collectl/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-apps/collectl
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/collectl/ChangeLog,v 1.4 2008/03/16 07:25:49 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/collectl/ChangeLog,v 1.5 2008/03/16 07:26:42 vapier Exp $
+
+*collectl-2.5.0 (16 Mar 2008)
+
+ 16 Mar 2008; Mike Frysinger <vapier@gentoo.org> +collectl-2.5.0.ebuild:
+ Version bump.
16 Mar 2008; Mike Frysinger <vapier@gentoo.org> collectl-2.4.1.ebuild,
Use virtual/perl-Time-HiRes rather than perl-core/perl-Time-HiRes #211627.
diff --git a/sys-apps/collectl/collectl-2.5.0.ebuild b/sys-apps/collectl/collectl-2.5.0.ebuild
new file mode 100644
index 000000000000..80fb01aec6f6
--- /dev/null
+++ b/sys-apps/collectl/collectl-2.5.0.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/collectl/collectl-2.5.0.ebuild,v 1.1 2008/03/16 07:26:42 vapier Exp $
+
+DESCRIPTION="light-weight performance monitoring tool capable of reporting interactively as well as 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"
+IUSE=""
+
+RDEPEND=">=dev-lang/perl-5.8.8
+ virtual/perl-Time-HiRes
+ >=dev-perl/Archive-Zip-1.20
+ sys-apps/ethtool
+ sys-apps/pciutils"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -i \
+ -e '/^require/s: ".*/: "/usr/share/${PN}/:' \
+ collectl.pl || die
+}
+
+src_install() {
+ newbin collectl.pl collectl || die
+ insinto /usr/share/${PN}
+ doins formatit.ph || die
+ insinto /etc
+ doins collectl.conf || die
+ doman man1/* || die
+ dodoc RELEASE-collectl
+ dohtml FAQ-collectl.html
+ newinitd "${FILESDIR}"/collectl.initd collectl
+}