diff options
author | Tim Harder <radhermit@gentoo.org> | 2012-02-23 07:40:42 +0000 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2012-02-23 07:40:42 +0000 |
commit | f2b8a8680f91feb097cd54e1ea8297c74f5a9f50 (patch) | |
tree | d5a743faf3935afd995659f6a305e58090a04d1b /sys-apps/collectl/collectl-3.6.1.ebuild | |
parent | Restricting pypy and jython (diff) | |
download | gentoo-2-f2b8a8680f91feb097cd54e1ea8297c74f5a9f50.tar.gz gentoo-2-f2b8a8680f91feb097cd54e1ea8297c74f5a9f50.tar.bz2 gentoo-2-f2b8a8680f91feb097cd54e1ea8297c74f5a9f50.zip |
Version bump.
(Portage version: 2.2.0_alpha87/cvs/Linux x86_64)
Diffstat (limited to 'sys-apps/collectl/collectl-3.6.1.ebuild')
-rw-r--r-- | sys-apps/collectl/collectl-3.6.1.ebuild | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/sys-apps/collectl/collectl-3.6.1.ebuild b/sys-apps/collectl/collectl-3.6.1.ebuild new file mode 100644 index 000000000000..7c55298412ec --- /dev/null +++ b/sys-apps/collectl/collectl-3.6.1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/collectl/collectl-3.6.1.ebuild,v 1.1 2012/02/23 07:40:42 radhermit Exp $ + +EAPI="4" + +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_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 collectl + + cd "${D}"/usr/share/doc/${PF} || die + dohtml * + rm -f ARTISTIC GPL COPYING *.html *.jpg *.css || die +} |