summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrandon Low <lostlogic@gentoo.org>2002-07-14 20:51:08 +0000
committerBrandon Low <lostlogic@gentoo.org>2002-07-14 20:51:08 +0000
commit9ffb531f8e3fe057b9556aa327bf259fb6f14ada (patch)
treebcaa0a15b9bad78271b6c33343938fa1d38266cb /app-admin/powertweak
parentadd xmms dep, dependadnt on use xmms; add kdegames dep for atlantik editor pl... (diff)
downloadgentoo-2-9ffb531f8e3fe057b9556aa327bf259fb6f14ada.tar.gz
gentoo-2-9ffb531f8e3fe057b9556aa327bf259fb6f14ada.tar.bz2
gentoo-2-9ffb531f8e3fe057b9556aa327bf259fb6f14ada.zip
Rock on powertweak is fixed.
Diffstat (limited to 'app-admin/powertweak')
-rw-r--r--app-admin/powertweak/ChangeLog10
-rw-r--r--app-admin/powertweak/files/digest-powertweak-0.1.17-r2 (renamed from app-admin/powertweak/files/digest-powertweak-0.1.17-r1)0
-rw-r--r--app-admin/powertweak/powertweak-0.1.17-r2.ebuild46
3 files changed, 56 insertions, 0 deletions
diff --git a/app-admin/powertweak/ChangeLog b/app-admin/powertweak/ChangeLog
new file mode 100644
index 000000000000..944cc9adff33
--- /dev/null
+++ b/app-admin/powertweak/ChangeLog
@@ -0,0 +1,10 @@
+# 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.1 2002/07/14 20:51:08 lostlogic Exp $
+
+*powertweak-0.1.17-r2 (14 Jul 2002)
+
+ 14 Jul 2002; Brandon Low <lostlogic@gentoo.org> powertweak-0.1.17-r2.ebuild
+ digest-powertweak-0.1.17-r2:
+
+ Fixed a bunch of badness in the package, initial ChangeLog
diff --git a/app-admin/powertweak/files/digest-powertweak-0.1.17-r1 b/app-admin/powertweak/files/digest-powertweak-0.1.17-r2
index fb4fe5979134..fb4fe5979134 100644
--- a/app-admin/powertweak/files/digest-powertweak-0.1.17-r1
+++ b/app-admin/powertweak/files/digest-powertweak-0.1.17-r2
diff --git a/app-admin/powertweak/powertweak-0.1.17-r2.ebuild b/app-admin/powertweak/powertweak-0.1.17-r2.ebuild
new file mode 100644
index 000000000000..d98ab4e0dde3
--- /dev/null
+++ b/app-admin/powertweak/powertweak-0.1.17-r2.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2000 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# $Header: /var/cvsroot/gentoo-x86/app-admin/powertweak/powertweak-0.1.17-r2.ebuild,v 1.1 2002/07/14 20:51:08 lostlogic Exp $
+
+S=${WORKDIR}/${P}
+DESCRIPTION="Powertweak"
+SRC_URI="http://powertweak.sourceforge.net/files/${P}.tar.bz2"
+HOMEPAGE="http://powertweak.sourceforge.net"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86"
+
+DEPEND="=x11-libs/gtk+-1.2*
+ >=dev-libs/libxml-1.8.10"
+
+src_unpack() {
+
+ CFLAGS="${CPPFLAGS} -Wno-error"
+ CPPFLAGS="${CPPFLAGS} -Wno-deprecated"
+ unpack ${A}
+ cd ${S}
+ for FILE in `find . -iname "Makefile*"`;do
+ sed -e "s:\(^CFLAGS =.*\):\1 ${CFLAGS}:" \
+ -e "s:\(^CPPFLAGS =.*\):\1 ${CPPFLAGS}:" \
+ ${FILE} > ${FILE}.hacked || die "Hack failed"
+ mv ${FILE}.hacked ${FILE}
+ done
+}
+
+src_compile() {
+
+ CFLAGS="${CPPFLAGS} -Wno-error"
+ CPPFLAGS="${CPPFLAGS} -Wno-deprecated"
+ cp /usr/share/libtool/ltmain.sh .
+ ./configure --host=${CHOST} --prefix=/usr || die "Configure failed"
+ emake || die "Make failed"
+}
+
+src_install() {
+
+ make install prefix=${D}/usr || die "Install failed"
+ dodoc AUTHORS COPYING ChangeLog INSTALL NEWS README
+ docinto Documentation
+ dodoc Documentation/*
+}
+