summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Hadaway <raker@gentoo.org>2002-10-29 19:16:02 +0000
committerNick Hadaway <raker@gentoo.org>2002-10-29 19:16:02 +0000
commite2c9304be884875cda178d1f538b0f311e8ec199 (patch)
tree2242f418d2e0cc848b2a2b7aa4e47cc24d986459 /app-admin/powertweak
parentSmall deps fix (diff)
downloadhistorical-e2c9304be884875cda178d1f538b0f311e8ec199.tar.gz
historical-e2c9304be884875cda178d1f538b0f311e8ec199.tar.bz2
historical-e2c9304be884875cda178d1f538b0f311e8ec199.zip
Updated version of powertweak. diff pulled from cvs on 10/29/2002.
Lots of other compile fixes as well. Currently marked unstable. Please comment on bug #8924.
Diffstat (limited to 'app-admin/powertweak')
-rw-r--r--app-admin/powertweak/ChangeLog12
-rw-r--r--app-admin/powertweak/files/digest-powertweak-0.99.5_pre200210291
-rw-r--r--app-admin/powertweak/files/powertweak-0.99.5_pre20021029.diff.bz2bin0 -> 214870 bytes
-rw-r--r--app-admin/powertweak/powertweak-0.99.5_pre20021029.ebuild61
4 files changed, 73 insertions, 1 deletions
diff --git a/app-admin/powertweak/ChangeLog b/app-admin/powertweak/ChangeLog
index 6c024692625a..0a65a2567272 100644
--- a/app-admin/powertweak/ChangeLog
+++ b/app-admin/powertweak/ChangeLog
@@ -1,6 +1,16 @@
# ChangeLog for app-admin/powertweak
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/powertweak/ChangeLog,v 1.3 2002/08/06 16:09:20 gerk Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/powertweak/ChangeLog,v 1.4 2002/10/29 19:16:02 raker Exp $
+
+*powertweak-0.99.5_pre20021029 (Oct 29 2002)
+
+ 29 Oct 2002; Nick Hadaway <raker@gentoo.org>
+ powertweak-0.99.5_pre20021029,
+ files/digest-powertweak-0.99.5_pre20021029,
+ files/powertweak-0.99.5_pre20021029.diff.bz2 :
+ Updated version of powertweak. diff pulled from cvs on 10/29/2002.
+ Lots of other compile fixes as well. Currently marked unstable.
+ Please comment on bug #8924.
*powertweak-0.99.4 (05 Aug 2002)
diff --git a/app-admin/powertweak/files/digest-powertweak-0.99.5_pre20021029 b/app-admin/powertweak/files/digest-powertweak-0.99.5_pre20021029
new file mode 100644
index 000000000000..3fd360bfa156
--- /dev/null
+++ b/app-admin/powertweak/files/digest-powertweak-0.99.5_pre20021029
@@ -0,0 +1 @@
+MD5 2b939a0689d3be7fc5eeec2d07b3477d powertweak-0.99.4.tar.bz2 486168
diff --git a/app-admin/powertweak/files/powertweak-0.99.5_pre20021029.diff.bz2 b/app-admin/powertweak/files/powertweak-0.99.5_pre20021029.diff.bz2
new file mode 100644
index 000000000000..18cc0df3a02d
--- /dev/null
+++ b/app-admin/powertweak/files/powertweak-0.99.5_pre20021029.diff.bz2
Binary files differ
diff --git a/app-admin/powertweak/powertweak-0.99.5_pre20021029.ebuild b/app-admin/powertweak/powertweak-0.99.5_pre20021029.ebuild
new file mode 100644
index 000000000000..da14f5fd3e23
--- /dev/null
+++ b/app-admin/powertweak/powertweak-0.99.5_pre20021029.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2002 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.1 2002/10/29 19:16:02 raker Exp $
+
+IUSE="gtk"
+
+S=${WORKDIR}/${PN}
+DESCRIPTION="Powertweak"
+SRC_URI="mirror://sourceforge/powertweak/${PN}-0.99.4.tar.bz2"
+HOMEPAGE="http://powertweak.sourceforge.net"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86 -ppc -sparc -sparc64 -alpha"
+
+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 ${S}
+ bzcat ${FILESDIR}/${P}.diff.bz2 | patch -p1 || die "patch failed"
+
+ 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} || 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
+
+}