diff options
author | Brandon Low <lostlogic@gentoo.org> | 2002-07-14 20:51:08 +0000 |
---|---|---|
committer | Brandon Low <lostlogic@gentoo.org> | 2002-07-14 20:51:08 +0000 |
commit | a2c225b932fe8da57106b12cf788f3998b17ad72 (patch) | |
tree | 0cc7f79660447505a01259910bfaca66ef70aeb6 /app-admin/powertweak | |
parent | add xmms dep, dependadnt on use xmms; add kdegames dep for atlantik editor pl... (diff) | |
download | historical-a2c225b932fe8da57106b12cf788f3998b17ad72.tar.gz historical-a2c225b932fe8da57106b12cf788f3998b17ad72.tar.bz2 historical-a2c225b932fe8da57106b12cf788f3998b17ad72.zip |
Rock on powertweak is fixed.
Diffstat (limited to 'app-admin/powertweak')
-rw-r--r-- | app-admin/powertweak/ChangeLog | 10 | ||||
-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.ebuild | 46 |
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/* +} + |