diff options
author | Wolfram Schlich <wschlich@gentoo.org> | 2007-05-01 01:35:25 +0000 |
---|---|---|
committer | Wolfram Schlich <wschlich@gentoo.org> | 2007-05-01 01:35:25 +0000 |
commit | ba02eb0bad62f911cff072329e01e9704460ee7f (patch) | |
tree | 5d93ddc232521cc685259b172142bf12b78afcb1 /sys-apps/dstat/dstat-0.6.6.ebuild | |
parent | version bump (diff) | |
download | historical-ba02eb0bad62f911cff072329e01e9704460ee7f.tar.gz historical-ba02eb0bad62f911cff072329e01e9704460ee7f.tar.bz2 historical-ba02eb0bad62f911cff072329e01e9704460ee7f.zip |
version bump
Package-Manager: portage-2.1.2.5
Diffstat (limited to 'sys-apps/dstat/dstat-0.6.6.ebuild')
-rw-r--r-- | sys-apps/dstat/dstat-0.6.6.ebuild | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/sys-apps/dstat/dstat-0.6.6.ebuild b/sys-apps/dstat/dstat-0.6.6.ebuild new file mode 100644 index 000000000000..07eb1d024b8e --- /dev/null +++ b/sys-apps/dstat/dstat-0.6.6.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/dstat/dstat-0.6.6.ebuild,v 1.1 2007/05/01 01:35:25 wschlich 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() { + make install DESTDIR="${D}" || die "make install failed" + + dodoc \ + AUTHORS ChangeLog README TODO dstat.conf \ + examples/{mstat,read}.py docs/*.txt \ + || die "dodoc failed" + dohtml docs/*.html || die "dohtml 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 +} |