From 460a1e6d4144733b4dd3bd3b6af4b776590aca02 Mon Sep 17 00:00:00 2001 From: Michael Januszewski Date: Sat, 17 Apr 2004 11:44:36 +0000 Subject: Added patches from CVS to make it work with 2.6 kernels --- app-admin/powertweak/ChangeLog | 9 ++++- app-admin/powertweak/Manifest | 6 ++- .../powertweak/files/digest-powertweak-0.99.5-r1 | 2 + app-admin/powertweak/powertweak-0.99.5-r1.ebuild | 45 ++++++++++++++++++++++ 4 files changed, 59 insertions(+), 3 deletions(-) create mode 100644 app-admin/powertweak/files/digest-powertweak-0.99.5-r1 create mode 100644 app-admin/powertweak/powertweak-0.99.5-r1.ebuild (limited to 'app-admin') diff --git a/app-admin/powertweak/ChangeLog b/app-admin/powertweak/ChangeLog index be5a1355a605..2f8cfe65ff90 100644 --- a/app-admin/powertweak/ChangeLog +++ b/app-admin/powertweak/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for app-admin/powertweak # Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/powertweak/ChangeLog,v 1.12 2004/04/16 09:02:59 dragonheart Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/powertweak/ChangeLog,v 1.13 2004/04/17 11:44:36 spock Exp $ + +*powertweak-0.99.5-r1 (17 Apr 2004) + + 17 Apr 2004; Michal Januszewski + +powertweak-0.99.5-r1.ebuild: + Added some patches from CVS to make it work with 2.6 kernels. Closes bug + #42766. 16 Apr 2004; Daniel Black powertweak-0.99.4.ebuild: Placed inherit at top of ebuild to fix bug #47775 diff --git a/app-admin/powertweak/Manifest b/app-admin/powertweak/Manifest index 068871ae8658..2e9d96ba4d13 100644 --- a/app-admin/powertweak/Manifest +++ b/app-admin/powertweak/Manifest @@ -1,7 +1,9 @@ -MD5 11ac447fb7637077224ecd907c202c37 ChangeLog 1888 MD5 74c4fc3cba0bc4ce5c69decec6abacc3 powertweak-0.99.4.ebuild 1520 +MD5 64c9d8e99d0421faf0bd8f6926bb2d2c powertweak-0.99.5-r1.ebuild 1215 MD5 a5792ab3bf86f74070e8c2e81d65dfe1 powertweak-0.99.5.ebuild 1038 +MD5 2346a5437662f403f87b63ad37d146b1 ChangeLog 2090 +MD5 1905168a8b57ae19ab4a2dfe41fddbb4 files/powertweak-0.99.4-gentoo.diff 2417 MD5 186537e6997431efc00728e2c4a24229 files/digest-powertweak-0.99.4 70 MD5 1309a0411e6185c8d9ae7590d318c618 files/digest-powertweak-0.99.5 70 -MD5 1905168a8b57ae19ab4a2dfe41fddbb4 files/powertweak-0.99.4-gentoo.diff 2417 +MD5 0dd7674a9a70087adb391022f562b05d files/digest-powertweak-0.99.5-r1 153 MD5 7d64d3d0e3f32da484d75f6089a42fa3 files/powertweakd.rc6 557 diff --git a/app-admin/powertweak/files/digest-powertweak-0.99.5-r1 b/app-admin/powertweak/files/digest-powertweak-0.99.5-r1 new file mode 100644 index 000000000000..c4c4390236a7 --- /dev/null +++ b/app-admin/powertweak/files/digest-powertweak-0.99.5-r1 @@ -0,0 +1,2 @@ +MD5 fe7e147ae7536846411c6239e33e6959 powertweak-0.99.5.tar.bz2 573995 +MD5 411ceb70f9eb6a828dfb9e6a8df090c6 powertweak-0.99.5-cvs20040417.patch.bz2 20901 diff --git a/app-admin/powertweak/powertweak-0.99.5-r1.ebuild b/app-admin/powertweak/powertweak-0.99.5-r1.ebuild new file mode 100644 index 000000000000..98e30e070cef --- /dev/null +++ b/app-admin/powertweak/powertweak-0.99.5-r1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/powertweak/powertweak-0.99.5-r1.ebuild,v 1.1 2004/04/17 11:44:36 spock Exp $ + +inherit eutils + +DESCRIPTION="Tune your kernel and hardware settings for optimal performance" +HOMEPAGE="http://powertweak.sourceforge.net/" +SRC_URI="mirror://sourceforge/powertweak/${P}.tar.bz2 http://dev.gentoo.org/~spock/portage/distfiles/powertweak-0.99.5-cvs20040417.patch.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 -ppc -sparc -alpha" +IUSE="gtk" + +DEPEND="gtk? ( =x11-libs/gtk+-1.2* ) + >=dev-libs/libxml2-2.3.0 + sys-devel/autoconf + sys-devel/automake" + +RDEPEND=">=sys-apps/pciutils-2.1.0 + gtk? ( =x11-libs/gtk+-1.2* )" + +src_unpack() { + unpack ${A} + cd ${WORKDIR} + epatch powertweak-0.99.5-cvs20040417.patch +} + +src_compile() { + econf `use_enable gtk gtktest` || die + emake || die +} + +src_install() { + make DESTDIR=${D} install || die + + dodoc AUTHORS COPYING ChangeLog INSTALL NEWS README + docinto Documentation + dodoc Documentation/* Documentation/Hackers/* + + use gtk || rm ${D}/usr/bin/gpowertweak + + exeinto /etc/init.d ; newexe ${FILESDIR}/powertweakd.rc6 powertweakd +} -- cgit v1.2.3-65-gdbad