summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2009-03-02 17:14:24 +0000
committerJeroen Roovers <jer@gentoo.org>2009-03-02 17:14:24 +0000
commit693523b67e9d9d505da5c4a9c9e9f0e4c448c49c (patch)
treea193b263d7fbf579eaf1ee13a7dd8f3284df8233 /app-admin/sysstat
parentCorrect app-admin/sysstat mask. (diff)
downloadgentoo-2-693523b67e9d9d505da5c4a9c9e9f0e4c448c49c.tar.gz
gentoo-2-693523b67e9d9d505da5c4a9c9e9f0e4c448c49c.tar.bz2
gentoo-2-693523b67e9d9d505da5c4a9c9e9f0e4c448c49c.zip
Version bump.
(Portage version: 2.2_rc23/cvs/Linux i686)
Diffstat (limited to 'app-admin/sysstat')
-rw-r--r--app-admin/sysstat/ChangeLog7
-rw-r--r--app-admin/sysstat/sysstat-9.0.0.ebuild43
2 files changed, 49 insertions, 1 deletions
diff --git a/app-admin/sysstat/ChangeLog b/app-admin/sysstat/ChangeLog
index 229cff4a192d..ff4249159ae6 100644
--- a/app-admin/sysstat/ChangeLog
+++ b/app-admin/sysstat/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-admin/sysstat
# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/sysstat/ChangeLog,v 1.125 2009/01/12 03:43:46 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/sysstat/ChangeLog,v 1.126 2009/03/02 17:14:24 jer Exp $
+
+*sysstat-9.0.0 (02 Mar 2009)
+
+ 02 Mar 2009; Jeroen Roovers <jer@gentoo.org> +sysstat-9.0.0.ebuild:
+ Version bump.
*sysstat-8.1.8 (12 Jan 2009)
diff --git a/app-admin/sysstat/sysstat-9.0.0.ebuild b/app-admin/sysstat/sysstat-9.0.0.ebuild
new file mode 100644
index 000000000000..ab68a58701b8
--- /dev/null
+++ b/app-admin/sysstat/sysstat-9.0.0.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/sysstat/sysstat-9.0.0.ebuild,v 1.1 2009/03/02 17:14:24 jer Exp $
+
+inherit eutils multilib
+
+DESCRIPTION="System performance tools for Linux"
+HOMEPAGE="http://perso.wanadoo.fr/sebastien.godard/"
+SRC_URI="http://perso.orange.fr/sebastien.godard/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
+IUSE="nls"
+
+RDEPEND="nls? ( virtual/libintl )"
+DEPEND="${RDEPEND}
+ nls? ( sys-devel/gettext )"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ sed -e 's| -pipe -O2||g' -i Makefile.in || die "sed failed"
+}
+
+src_compile() {
+ sa_lib_dir=/usr/$(get_libdir)/sa \
+ econf $(use_enable nls) conf_dir=/etc || die "econf failed"
+ emake LFLAGS="${LDFLAGS}" || die "emake failed"
+}
+
+src_install() {
+ keepdir /var/log/sa
+
+ emake DESTDIR="${D}" DOC_DIR=/usr/share/doc/${PF} \
+ install || die "make install failed"
+
+ newdoc sysstat.crond.sample crontab.example
+ newinitd "${FILESDIR}"/sysstat.init.d sysstat
+
+ ewarn "The sysstat configuration files have moved from /etc/sysconfig to /etc"
+}