summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys-apps/collectl/Manifest1
-rw-r--r--sys-apps/collectl/collectl-4.0.4.ebuild37
2 files changed, 38 insertions, 0 deletions
diff --git a/sys-apps/collectl/Manifest b/sys-apps/collectl/Manifest
index ea3afd156f49..b8ffbc1f6b46 100644
--- a/sys-apps/collectl/Manifest
+++ b/sys-apps/collectl/Manifest
@@ -2,3 +2,4 @@ DIST collectl-3.7.3.src.tar.gz 457208 SHA256 93c6c130eb89f0ecba1b1b791e80b7e6746
DIST collectl-3.7.4.src.tar.gz 462752 SHA256 798657b8e3626e9e4ed6fe5ae44b8216da49f0bc4bbda52217d2a304e3d7e108 SHA512 f25686fe977e0a3ea45a1980eea87baaa92a2d81ec308838c137d181e2bf182df6cdf453c5c6e7f3f0b2ccd3066d17ab9c4137303b587f55303dd4afe7ae35da WHIRLPOOL e017e293348644d922547bc99904e5434c0286b8b332509cb062ac92c6a11ff8af2a4ceb275fe82dd9dda11c7774ab9e2e344c9ca5a2d6d25b036a3dab893db0
DIST collectl-4.0.0.src.tar.gz 618232 SHA256 7c2ecddb8ca0d49222590526d84de93b6593410515aca9aa2099d5a903e01221 SHA512 9f42a2a845ed7954f7a4d18b9c517b2beeac75819ce5fb60a9b45d24ec0ebf4dee54f32868a3e7e72d068de4c32741764a46712f2d9cfb8dbe0b54d56f1fec6d WHIRLPOOL eac180bd4533e59f16b5e117593d9132f1bc809a0f498fe08a1cb8ae57a921ecb7a80357f302e335d55c148b8748972ceb3fe01fb109ca6721938d69494ebe90
DIST collectl-4.0.2.src.tar.gz 618639 SHA256 57474454913709a17ff22e3ac5e3839b7d6596b71aae7f08658f2c73a277622d SHA512 6e4dd377a3c155bcf4bfc613374096365cd9d3af45683408e4872af6814b87b867700ce31077eca8d011d2acd1cf626f9f220d83ef2d0d4dfdf05b80b858f47e WHIRLPOOL ef661ec0481ba4e374e8af3b8cd03a4797c6626523f316eab4456bedc8b4132b3001556b6d358ed614b18c1e7ea8e5ffc9a6ce96e17273f7f5166ab8d3201a16
+DIST collectl-4.0.4.src.tar.gz 623507 SHA256 03fc26ece3e9db6e410b708ada45fdec8c566ad82e67cb933c6ff8c005058ecf SHA512 1bed130fbcf6eea972a733de60c7ff4d1425a324a7c7b9a2cb767655c602d17f1725ff15ed7927cc887b584cdfd78ffd5db19615ca4fe1032715fc4a844c13b8 WHIRLPOOL afdfe4ace4709a2d7a02f8dc991d1cc54de42885a1c81eefebbf5df2ac538826893e58858d41e3864a39e49c13961b2c3c5947c0b53bfd9704ff6f28705c1c77
diff --git a/sys-apps/collectl/collectl-4.0.4.ebuild b/sys-apps/collectl/collectl-4.0.4.ebuild
new file mode 100644
index 000000000000..4d43e9230c84
--- /dev/null
+++ b/sys-apps/collectl/collectl-4.0.4.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+DESCRIPTION="light-weight performance monitoring tool capable of reporting interactively 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"
+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_prepare() {
+ sed -i INSTALL -e "/^DOCDIR/s:doc/collectl:doc/${PF}:" || die
+}
+
+src_install() {
+ DESTDIR="${D}" bash -ex ./INSTALL || die
+
+ rm "${D}"/etc/init.d/* || die
+ newinitd "${FILESDIR}"/collectl.initd-2 collectl
+
+ rm "${D}"/usr/share/${PN}/UNINSTALL || die
+
+ cd "${D}"/usr/share/doc/${PF} || die
+ dohtml *
+ rm ARTISTIC GPL COPYING *.html *.jpg *.css || die
+}