diff options
Diffstat (limited to 'sys-apps/dstat')
-rw-r--r-- | sys-apps/dstat/ChangeLog | 9 | ||||
-rw-r--r-- | sys-apps/dstat/dstat-0.7.2.ebuild | 40 |
2 files changed, 47 insertions, 2 deletions
diff --git a/sys-apps/dstat/ChangeLog b/sys-apps/dstat/ChangeLog index 0f41ecb22785..924ceb575605 100644 --- a/sys-apps/dstat/ChangeLog +++ b/sys-apps/dstat/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-apps/dstat -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/dstat/ChangeLog,v 1.32 2009/11/25 13:43:09 rbu Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/dstat/ChangeLog,v 1.33 2010/06/24 20:46:14 swegener Exp $ + +*dstat-0.7.2 (24 Jun 2010) + + 24 Jun 2010; Sven Wegener <swegener@gentoo.org> +dstat-0.7.2.ebuild: + Version bump, bug #297555. *dstat-0.6.9-r1 (25 Nov 2009) diff --git a/sys-apps/dstat/dstat-0.7.2.ebuild b/sys-apps/dstat/dstat-0.7.2.ebuild new file mode 100644 index 000000000000..fde02ccdbeea --- /dev/null +++ b/sys-apps/dstat/dstat-0.7.2.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/dstat/dstat-0.7.2.ebuild,v 1.1 2010/06/24 20:46:14 swegener Exp $ + +EAPI=2 + +inherit python eutils + +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="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" +IUSE="" + +RDEPEND="virtual/python" +DEPEND="" + +src_compile() { + true +} + +src_install() { + make install DESTDIR="${D}" || die "make install failed" + + dodoc \ + AUTHORS ChangeLog README TODO \ + examples/{mstat,read}.py docs/*.txt \ + || die "dodoc failed" + dohtml docs/*.html || die "dohtml failed" +} + +pkg_postinst() { + python_mod_optimize /usr/share/dstat +} + +pkg_postrm() { + python_mod_cleanup /usr/share/dstat +} |