From e69c1d40d99f92aafa075aebea072a635caaf31c Mon Sep 17 00:00:00 2001 From: Markus Ullmann Date: Tue, 27 Mar 2007 20:06:57 +0000 Subject: Fix man dir, thanks to William Zhou for the patch in bug #171601 (Portage version: 2.1.2.2) --- app-admin/sysstat/ChangeLog | 8 +++- app-admin/sysstat/files/digest-sysstat-7.0.4 | 3 -- app-admin/sysstat/files/digest-sysstat-7.0.4-r1 | 3 ++ app-admin/sysstat/sysstat-7.0.4-r1.ebuild | 55 +++++++++++++++++++++++++ app-admin/sysstat/sysstat-7.0.4.ebuild | 54 ------------------------ 5 files changed, 65 insertions(+), 58 deletions(-) delete mode 100644 app-admin/sysstat/files/digest-sysstat-7.0.4 create mode 100644 app-admin/sysstat/files/digest-sysstat-7.0.4-r1 create mode 100644 app-admin/sysstat/sysstat-7.0.4-r1.ebuild delete mode 100644 app-admin/sysstat/sysstat-7.0.4.ebuild (limited to 'app-admin') diff --git a/app-admin/sysstat/ChangeLog b/app-admin/sysstat/ChangeLog index 28cfb12339ae..5ce5a39a3373 100644 --- a/app-admin/sysstat/ChangeLog +++ b/app-admin/sysstat/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-admin/sysstat # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/sysstat/ChangeLog,v 1.49 2007/03/23 03:43:26 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/sysstat/ChangeLog,v 1.50 2007/03/27 20:06:57 jokey Exp $ + +*sysstat-7.0.4-r1 (27 Mar 2007) + + 27 Mar 2007; Markus Ullmann -sysstat-7.0.4.ebuild, + +sysstat-7.0.4-r1.ebuild: + Fix man dir, thanks to William Zhou for the patch in bug #171601 23 Mar 2007; Jeroen Roovers sysstat-7.0.4.ebuild: Stable for HPPA too. diff --git a/app-admin/sysstat/files/digest-sysstat-7.0.4 b/app-admin/sysstat/files/digest-sysstat-7.0.4 deleted file mode 100644 index c9aa6ebb9819..000000000000 --- a/app-admin/sysstat/files/digest-sysstat-7.0.4 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 b51eb0931daa45b4df3fb59340db8379 sysstat-7.0.4.tar.gz 157567 -RMD160 c8f483e0b02176fa50a97a6608118540723fc498 sysstat-7.0.4.tar.gz 157567 -SHA256 b42e0d5fac381c24d0484708b0f992b39e267b4fcde2889b7c0c5f991bad604f sysstat-7.0.4.tar.gz 157567 diff --git a/app-admin/sysstat/files/digest-sysstat-7.0.4-r1 b/app-admin/sysstat/files/digest-sysstat-7.0.4-r1 new file mode 100644 index 000000000000..c9aa6ebb9819 --- /dev/null +++ b/app-admin/sysstat/files/digest-sysstat-7.0.4-r1 @@ -0,0 +1,3 @@ +MD5 b51eb0931daa45b4df3fb59340db8379 sysstat-7.0.4.tar.gz 157567 +RMD160 c8f483e0b02176fa50a97a6608118540723fc498 sysstat-7.0.4.tar.gz 157567 +SHA256 b42e0d5fac381c24d0484708b0f992b39e267b4fcde2889b7c0c5f991bad604f sysstat-7.0.4.tar.gz 157567 diff --git a/app-admin/sysstat/sysstat-7.0.4-r1.ebuild b/app-admin/sysstat/sysstat-7.0.4-r1.ebuild new file mode 100644 index 000000000000..22ac43a13e4f --- /dev/null +++ b/app-admin/sysstat/sysstat-7.0.4-r1.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/sysstat/sysstat-7.0.4-r1.ebuild,v 1.1 2007/03/27 20:06:57 jokey Exp $ + +inherit multilib + +DESCRIPTION="System performance tools for Linux" +HOMEPAGE="http://perso.wanadoo.fr/sebastien.godard/" +SRC_URI="http://perso.orange.fr/sebastien.godard/sysstat-${PV}.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 )" + +CONFIGVARS="PREFIX=\"${ROOT}usr\" + SA_LIB_DIR=\"${ROOT}usr/$(get_libdir)/sa\" + SA_DIR=\"${ROOT}var/log/sa\" + DOC_DIR=\"${ROOT}usr/share/doc/${PF}\" + MAN_DIR=\"${ROOT}usr/share/man/\"" + +src_unpack() { + unpack ${A} + cd ${S} + sed -i -e "s:-O2:${CFLAGS}:" Makefile || die "sed Makefile failed" +} + +src_compile() { + if ! use nls ; then + sed -i '19s:\(REQUIRE_NLS = \)[^\n]*:\1:' build/CONFIG || \ + die "sed CONFIG failed" + fi + + emake LFLAGS="${LDFLAGS}" \ + ${CONFIGVARS} \ + || die "make failed" +} + +src_install() { + keepdir /var/log/sa + newdoc "${FILESDIR}/crontab" crontab.example + + emake \ + LFLAGS="${LDFLAGS}" \ + DESTDIR="${D}" \ + ${CONFIGVARS} \ + install || die "make install failed" + + rm "${D}/usr/share/doc/${PF}/COPYING" + gzip "${D}/usr/share/doc/${PF}/"*[^mz] +} diff --git a/app-admin/sysstat/sysstat-7.0.4.ebuild b/app-admin/sysstat/sysstat-7.0.4.ebuild deleted file mode 100644 index 227c93df4db8..000000000000 --- a/app-admin/sysstat/sysstat-7.0.4.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/sysstat/sysstat-7.0.4.ebuild,v 1.4 2007/03/23 03:43:26 jer Exp $ - -inherit multilib - -DESCRIPTION="System performance tools for Linux" -HOMEPAGE="http://perso.wanadoo.fr/sebastien.godard/" -SRC_URI="http://perso.orange.fr/sebastien.godard/sysstat-${PV}.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 )" - -CONFIGVARS="PREFIX=\"${ROOT}usr\" - SA_LIB_DIR=\"${ROOT}usr/$(get_libdir)/sa\" - SA_DIR=\"${ROOT}var/log/sa\" - DOC_DIR=\"${ROOT}usr/share/doc/${PF}\"" - -src_unpack() { - unpack ${A} - cd ${S} - sed -i -e "s:-O2:${CFLAGS}:" Makefile || die "sed Makefile failed" -} - -src_compile() { - if ! use nls ; then - sed -i '19s:\(REQUIRE_NLS = \)[^\n]*:\1:' build/CONFIG || \ - die "sed CONFIG failed" - fi - - emake LFLAGS="${LDFLAGS}" \ - ${CONFIGVARS} \ - || die "make failed" -} - -src_install() { - keepdir /var/log/sa - newdoc "${FILESDIR}/crontab" crontab.example - - emake \ - LFLAGS="${LDFLAGS}" \ - DESTDIR="${D}" \ - ${CONFIGVARS} \ - install || die "make install failed" - - rm "${D}/usr/share/doc/${PF}/COPYING" - gzip "${D}/usr/share/doc/${PF}/"*[^mz] -} -- cgit v1.2.3-65-gdbad