diff options
author | Sven Wegener <swegener@gentoo.org> | 2005-09-09 11:48:17 +0000 |
---|---|---|
committer | Sven Wegener <swegener@gentoo.org> | 2005-09-09 11:48:17 +0000 |
commit | e0881fd35d731218051ca0ce3a52006777fd1b70 (patch) | |
tree | 45b36ad2973fd06898c8dc41fb8b9eb596c51acf /sys-apps/dstat/dstat-0.6.1.ebuild | |
parent | Many changes, all in shape, none in substance, see ChangeLog (diff) | |
download | gentoo-2-e0881fd35d731218051ca0ce3a52006777fd1b70.tar.gz gentoo-2-e0881fd35d731218051ca0ce3a52006777fd1b70.tar.bz2 gentoo-2-e0881fd35d731218051ca0ce3a52006777fd1b70.zip |
Version bump to 0.6.1. Revision bump for the old version to distribute a plugin installation fix.
(Portage version: 2.0.52)
Diffstat (limited to 'sys-apps/dstat/dstat-0.6.1.ebuild')
-rw-r--r-- | sys-apps/dstat/dstat-0.6.1.ebuild | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/sys-apps/dstat/dstat-0.6.1.ebuild b/sys-apps/dstat/dstat-0.6.1.ebuild new file mode 100644 index 000000000000..8a04859074a1 --- /dev/null +++ b/sys-apps/dstat/dstat-0.6.1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/dstat/dstat-0.6.1.ebuild,v 1.1 2005/09/09 11:48:17 swegener Exp $ + +inherit python + +DESCRIPTION="Dstat is a versatile replacement for vmstat, iostat and ifstat" +HOMEPAGE="http://dag.wieers.com/home-made/dstat/" +SRC_URI="http://dag.wieers.com/home-made/${PN}/${P}.tar.bz2" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +RDEPEND="virtual/python" +DEPEND="" + +src_compile() { + true +} + +src_install() { + dobin dstat || die "dobin failed" + + insinto /usr/share/dstat + doins plugins/*.py || die "doins failed" + + doman dstat.1 || die "doman failed" + dodoc \ + AUTHORS ChangeLog README* TODO dstat.conf \ + examples/{mstat,read}.py || die "dodoc failed" +} + +pkg_postinst() { + python_mod_optimize /usr/share/dstat + + einfo + einfo "See the included dstat.conf in the doc directory for" + einfo "an example on how to setup a custom /etc/dstat.conf" + einfo +} + +pkg_postrm() { + python_mod_cleanup /usr/share/dstat +} |