diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2016-08-15 09:18:27 +0200 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2016-08-15 10:22:03 +0200 |
commit | cc41d6c98d2fed3d65c511e19a2c576c23d27884 (patch) | |
tree | ccd3363e3355cf25b51b0760f6d7b02dd68a0d6e /sys-apps/collectl/collectl-4.0.5.ebuild | |
parent | net-nds/gss-proxy: Bump to version 0.5.1 (diff) | |
download | gentoo-cc41d6c98d2fed3d65c511e19a2c576c23d27884.tar.gz gentoo-cc41d6c98d2fed3d65c511e19a2c576c23d27884.tar.bz2 gentoo-cc41d6c98d2fed3d65c511e19a2c576c23d27884.zip |
sys-apps/collectl: Bump to version 4.0.5
Package-Manager: portage-2.3.0
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'sys-apps/collectl/collectl-4.0.5.ebuild')
-rw-r--r-- | sys-apps/collectl/collectl-4.0.5.ebuild | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/sys-apps/collectl/collectl-4.0.5.ebuild b/sys-apps/collectl/collectl-4.0.5.ebuild new file mode 100644 index 000000000000..4d43e9230c84 --- /dev/null +++ b/sys-apps/collectl/collectl-4.0.5.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 +} |