From ce325fd79c52d23d615d52d1f9b423c8ad01565b Mon Sep 17 00:00:00 2001 From: Jim Ramsay Date: Fri, 9 Mar 2007 16:57:25 +0000 Subject: [PATCH] Updated to use new gkrellm-plugin eclass Package-Manager: portage-2.1.2-r10 --- x11-plugins/gkrellm-countdown/ChangeLog | 5 ++++- .../gkrellm-countdown-0.1.1.ebuild | 16 +++------------- x11-plugins/gkrellm-cpufreq/ChangeLog | 5 ++++- .../gkrellm-cpufreq-0.5.5.ebuild | 17 ++++------------- x11-plugins/gkrellmbups/ChangeLog | 6 +++++- .../gkrellmbups/gkrellmbups-2.0.2-r1.ebuild | 15 +++++++-------- .../gkrellmbups/gkrellmbups-2.0.2.ebuild | 15 +++++---------- 7 files changed, 32 insertions(+), 47 deletions(-) diff --git a/x11-plugins/gkrellm-countdown/ChangeLog b/x11-plugins/gkrellm-countdown/ChangeLog index 3945a65bef7c..4052387e2ee2 100644 --- a/x11-plugins/gkrellm-countdown/ChangeLog +++ b/x11-plugins/gkrellm-countdown/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for x11-plugins/gkrellm-countdown # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-plugins/gkrellm-countdown/ChangeLog,v 1.5 2007/02/05 15:57:11 gustavoz Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-plugins/gkrellm-countdown/ChangeLog,v 1.6 2007/03/09 16:55:35 lack Exp $ + + 09 Mar 2007; Jim Ramsay gkrellm-countdown-0.1.1.ebuild: + Updated to use new gkrellm-plugin eclass 05 Feb 2007; Gustavo Zacarias gkrellm-countdown-0.1.1.ebuild: diff --git a/x11-plugins/gkrellm-countdown/gkrellm-countdown-0.1.1.ebuild b/x11-plugins/gkrellm-countdown/gkrellm-countdown-0.1.1.ebuild index 6fb87dbe32d5..a271df524317 100644 --- a/x11-plugins/gkrellm-countdown/gkrellm-countdown-0.1.1.ebuild +++ b/x11-plugins/gkrellm-countdown/gkrellm-countdown-0.1.1.ebuild @@ -1,26 +1,16 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-plugins/gkrellm-countdown/gkrellm-countdown-0.1.1.ebuild,v 1.7 2007/02/05 15:57:11 gustavoz Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-plugins/gkrellm-countdown/gkrellm-countdown-0.1.1.ebuild,v 1.8 2007/03/09 16:55:35 lack Exp $ + +inherit gkrellm-plugin S=${WORKDIR}/${PN} DESCRIPTION="A simple countdown clock for GKrellM2" SRC_URI="http://www.cise.ufl.edu/~jcjones/src/${P}.tar.gz" HOMEPAGE="http://www.cise.ufl.edu/~jcjones/src/" -DEPEND=">=app-admin/gkrellm-2" - SLOT="0" LICENSE="GPL-2" KEYWORDS="~ppc ~sparc x86" IUSE="" -src_compile() { - emake || die -} - -src_install () { - exeinto /usr/lib/gkrellm2/plugins - doexe gkrellm-countdown.so - dodoc README - dodoc ChangeLog -} diff --git a/x11-plugins/gkrellm-cpufreq/ChangeLog b/x11-plugins/gkrellm-cpufreq/ChangeLog index d979fbf6412d..9fe6abfa6136 100644 --- a/x11-plugins/gkrellm-cpufreq/ChangeLog +++ b/x11-plugins/gkrellm-cpufreq/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for x11-plugins/gkrellm-cpufreq # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-plugins/gkrellm-cpufreq/ChangeLog,v 1.1 2007/02/23 00:27:58 lack Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-plugins/gkrellm-cpufreq/ChangeLog,v 1.2 2007/03/09 16:57:25 lack Exp $ + + 09 Mar 2007; Jim Ramsay gkrellm-cpufreq-0.5.5.ebuild: + Updated to use new gkrellm-plugin eclass *gkrellm-cpufreq-0.5.5 (23 Feb 2007) diff --git a/x11-plugins/gkrellm-cpufreq/gkrellm-cpufreq-0.5.5.ebuild b/x11-plugins/gkrellm-cpufreq/gkrellm-cpufreq-0.5.5.ebuild index c45aed051c89..92b671a3a16b 100644 --- a/x11-plugins/gkrellm-cpufreq/gkrellm-cpufreq-0.5.5.ebuild +++ b/x11-plugins/gkrellm-cpufreq/gkrellm-cpufreq-0.5.5.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-plugins/gkrellm-cpufreq/gkrellm-cpufreq-0.5.5.ebuild,v 1.1 2007/02/23 00:27:58 lack Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-plugins/gkrellm-cpufreq/gkrellm-cpufreq-0.5.5.ebuild,v 1.2 2007/03/09 16:57:25 lack Exp $ -inherit multilib +inherit gkrellm-plugin MY_P=${P/gkrellm/gkrellm2} @@ -15,21 +15,12 @@ SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="" -RDEPEND="=app-admin/gkrellm-2*" - -DEPEND="${RDEPEND} - dev-util/pkgconfig" - S=${WORKDIR}/${MY_P} -src_compile() { - emake || die "emake failed" -} +PLUGIN_SO=cpufreq.so src_install() { - dodoc README - insinto /usr/$(get_libdir)/gkrellm2/plugins - doins cpufreq.so + gkrellm-plugin_src_install exeinto /usr/sbin doexe cpufreqset doexe cpufreqsetgovernor diff --git a/x11-plugins/gkrellmbups/ChangeLog b/x11-plugins/gkrellmbups/ChangeLog index 4617920899ce..073265d62ef7 100644 --- a/x11-plugins/gkrellmbups/ChangeLog +++ b/x11-plugins/gkrellmbups/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for x11-plugins/gkrellmbups # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-plugins/gkrellmbups/ChangeLog,v 1.5 2007/02/21 16:34:26 lack Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-plugins/gkrellmbups/ChangeLog,v 1.6 2007/03/09 16:53:58 lack Exp $ + + 09 Mar 2007; Jim Ramsay gkrellmbups-2.0.2.ebuild, + gkrellmbups-2.0.2-r1.ebuild: + Updated to use new gkrellm-plugin eclass *gkrellmbups-2.0.2-r1 (21 Feb 2007) diff --git a/x11-plugins/gkrellmbups/gkrellmbups-2.0.2-r1.ebuild b/x11-plugins/gkrellmbups/gkrellmbups-2.0.2-r1.ebuild index 6b0509983875..749a296fc5c8 100644 --- a/x11-plugins/gkrellmbups/gkrellmbups-2.0.2-r1.ebuild +++ b/x11-plugins/gkrellmbups/gkrellmbups-2.0.2-r1.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-plugins/gkrellmbups/gkrellmbups-2.0.2-r1.ebuild,v 1.1 2007/02/21 16:34:26 lack Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-plugins/gkrellmbups/gkrellmbups-2.0.2-r1.ebuild,v 1.2 2007/03/09 16:53:58 lack Exp $ -inherit multilib +inherit gkrellm-plugin IUSE="nut" DESCRIPTION="GKrellM2 Belkin UPS monitor Plugin" @@ -13,8 +13,7 @@ SLOT="0" LICENSE="GPL-2" KEYWORDS="~ppc ~sparc x86" -RDEPEND=">=app-admin/gkrellm-2 - nut? ( sys-power/nut )" +RDEPEND="nut? ( sys-power/nut )" src_unpack() { unpack ${A} @@ -23,12 +22,12 @@ src_unpack() { } src_compile() { - econf `use_enable nut` || die "configure failed" - emake || die + econf `use_enable nut` || die "Configure failed" + emake || die "Make failed" } src_install () { - insinto /usr/$(get_libdir)/gkrellm2/plugins + insinto $(gkrellm-plugin_dir) newins src/gkrellmbups gkrellmbups.so - dodoc COPYING INSTALL README TODO + dodoc INSTALL README TODO } diff --git a/x11-plugins/gkrellmbups/gkrellmbups-2.0.2.ebuild b/x11-plugins/gkrellmbups/gkrellmbups-2.0.2.ebuild index 281ae4e61340..00c10a8db02b 100644 --- a/x11-plugins/gkrellmbups/gkrellmbups-2.0.2.ebuild +++ b/x11-plugins/gkrellmbups/gkrellmbups-2.0.2.ebuild @@ -1,6 +1,8 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-plugins/gkrellmbups/gkrellmbups-2.0.2.ebuild,v 1.4 2007/02/05 16:04:00 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-plugins/gkrellmbups/gkrellmbups-2.0.2.ebuild,v 1.5 2007/03/09 16:53:58 lack Exp $ + +inherit gkrellm-plugin IUSE="" DESCRIPTION="GKrellM2 Belkin UPS monitor Plugin" @@ -11,21 +13,14 @@ SLOT="0" LICENSE="GPL-2" KEYWORDS="~ppc ~sparc x86" -DEPEND="=app-admin/gkrellm-2*" - src_unpack() { unpack ${A} cd ${S} sed -i -e 's:/usr/include/gkrell:/usr/include/gkrellm2:g' configure } -src_compile() { - econf || die - emake || die -} - src_install () { - insinto /usr/lib/gkrellm2/plugins + insinto $(gkrellm-plugin_dir) newins src/gkrellmbups gkrellmbups.so - dodoc COPYING INSTALL README TODO + dodoc INSTALL README TODO } -- 2.26.2