summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2003-08-16 06:33:09 +0000
committerMike Frysinger <vapier@gentoo.org>2003-08-16 06:33:09 +0000
commit31774da607209721cf9dce17947bd549018d7b26 (patch)
treea31a0d3cca378444dd4fa55911ad88bc3e0ae664 /app-admin/powertweak
parentfix hardcoding of ogre.cfg (diff)
downloadgentoo-2-31774da607209721cf9dce17947bd549018d7b26.tar.gz
gentoo-2-31774da607209721cf9dce17947bd549018d7b26.tar.bz2
gentoo-2-31774da607209721cf9dce17947bd549018d7b26.zip
version bump + init script fix #18655
Diffstat (limited to 'app-admin/powertweak')
-rw-r--r--app-admin/powertweak/ChangeLog7
-rw-r--r--app-admin/powertweak/files/digest-powertweak-0.99.51
-rw-r--r--app-admin/powertweak/files/digest-powertweak-0.99.5_pre200210292
-rw-r--r--app-admin/powertweak/files/powertweakd.rc64
-rw-r--r--app-admin/powertweak/powertweak-0.99.5.ebuild (renamed from app-admin/powertweak/powertweak-0.99.5_pre20021029.ebuild)30
5 files changed, 15 insertions, 29 deletions
diff --git a/app-admin/powertweak/ChangeLog b/app-admin/powertweak/ChangeLog
index 6b74c91f002f..28510db0e199 100644
--- a/app-admin/powertweak/ChangeLog
+++ b/app-admin/powertweak/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-admin/powertweak
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/powertweak/ChangeLog,v 1.10 2003/02/12 02:26:05 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/powertweak/ChangeLog,v 1.11 2003/08/16 06:33:09 vapier Exp $
+
+*powertweak-0.99.5 (16 Aug 2003)
+
+ 16 Aug 2003; Mike Frysinger <vapier@gentoo.org>:
+ Add real 0.99.5 version and add fix to init script #18655.
*powertweak-0.99.5_pre20021029 (Oct 29 2002)
diff --git a/app-admin/powertweak/files/digest-powertweak-0.99.5 b/app-admin/powertweak/files/digest-powertweak-0.99.5
new file mode 100644
index 000000000000..19d8da80e0a1
--- /dev/null
+++ b/app-admin/powertweak/files/digest-powertweak-0.99.5
@@ -0,0 +1 @@
+MD5 fe7e147ae7536846411c6239e33e6959 powertweak-0.99.5.tar.bz2 573995
diff --git a/app-admin/powertweak/files/digest-powertweak-0.99.5_pre20021029 b/app-admin/powertweak/files/digest-powertweak-0.99.5_pre20021029
deleted file mode 100644
index 3c8bd0af04e9..000000000000
--- a/app-admin/powertweak/files/digest-powertweak-0.99.5_pre20021029
+++ /dev/null
@@ -1,2 +0,0 @@
-MD5 2b939a0689d3be7fc5eeec2d07b3477d powertweak-0.99.4.tar.bz2 486168
-MD5 193fdc138c36a68adaafbe28cd8d2ae9 powertweak-0.99.5_pre20021029.diff.bz2 214870
diff --git a/app-admin/powertweak/files/powertweakd.rc6 b/app-admin/powertweak/files/powertweakd.rc6
index 641c75c1e943..1f0d91c69c82 100644
--- a/app-admin/powertweak/files/powertweakd.rc6
+++ b/app-admin/powertweak/files/powertweakd.rc6
@@ -1,11 +1,11 @@
#!/sbin/runscript
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/powertweak/files/powertweakd.rc6,v 1.3 2003/02/14 22:14:02 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/powertweak/files/powertweakd.rc6,v 1.4 2003/08/16 06:33:09 vapier Exp $
start() {
ebegin "Starting powertweakd"
- start-stop-daemon --start --quiet --exec /usr/sbin/powertweakd -- -d -p /var/run/powertweakd.pid
+ start-stop-daemon --start --quiet --exec /usr/sbin/powertweakd -- -p /var/run/powertweakd.pid
eend $?
}
diff --git a/app-admin/powertweak/powertweak-0.99.5_pre20021029.ebuild b/app-admin/powertweak/powertweak-0.99.5.ebuild
index f03901f459d7..73d92b227938 100644
--- a/app-admin/powertweak/powertweak-0.99.5_pre20021029.ebuild
+++ b/app-admin/powertweak/powertweak-0.99.5.ebuild
@@ -1,21 +1,17 @@
# Copyright 1999-2003 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_pre20021029.ebuild,v 1.5 2003/02/11 12:05:34 seemant Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/powertweak/powertweak-0.99.5.ebuild,v 1.1 2003/08/16 06:33:09 vapier Exp $
inherit eutils
-IUSE="gtk"
-
-S=${WORKDIR}/${PN}
DESCRIPTION="Tune your kernel and hardware settings for optimal performance"
HOMEPAGE="http://powertweak.sourceforge.net/"
-SRC_URI="mirror://sourceforge/powertweak/${PN}-0.99.4.tar.bz2
- mirror://gentoo/${P}.diff.bz2
- http://cvs.gentoo.org/~seemant/${P}.diff.bz2"
+SRC_URI="mirror://sourceforge/powertweak/${P}.tar.bz2"
-SLOT="0"
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
@@ -25,21 +21,8 @@ DEPEND="gtk? ( =x11-libs/gtk+-1.2* )
RDEPEND=">=sys-apps/pciutils-2.1.0
gtk? ( =x11-libs/gtk+-1.2* )"
-src_unpack() {
- unpack ${A}
- cd ${S}
- epatch ${WORKDIR}/${P}.diff
-
- cp configure.in configure.in.orig
- sed -e "s:CFLAGS=\"\":CFLAGS=\"${CFLAGS}\":" \
- < configure.in.orig > configure.in
-}
-
src_compile() {
- ./autogen.sh
-
- use gtk || myconf="--disable-gtktest"
- econf ${myconf}
+ econf `use_enable gtk gtktest` || die
emake || die
}
@@ -47,11 +30,10 @@ 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
}