diff options
Diffstat (limited to 'app-admin/powertweak')
-rw-r--r-- | app-admin/powertweak/powertweak-0.1.17-r2.ebuild | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/app-admin/powertweak/powertweak-0.1.17-r2.ebuild b/app-admin/powertweak/powertweak-0.1.17-r2.ebuild index bfb5ffba3441..03f1985e2ce0 100644 --- a/app-admin/powertweak/powertweak-0.1.17-r2.ebuild +++ b/app-admin/powertweak/powertweak-0.1.17-r2.ebuild @@ -1,14 +1,14 @@ -# Copyright 1999-2000 Gentoo Technologies, Inc. +# Copyright 1999-2002 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.2 2002/07/17 20:43:17 drobbins Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/powertweak/powertweak-0.1.17-r2.ebuild,v 1.3 2002/07/25 13:17:40 seemant Exp $ S=${WORKDIR}/${P} DESCRIPTION="Powertweak" SRC_URI="http://powertweak.sourceforge.net/files/${P}.tar.bz2" -SLOT="0" HOMEPAGE="http://powertweak.sourceforge.net" -LICENSE="GPL-2" + SLOT="0" +LICENSE="GPL-2" KEYWORDS="x86" DEPEND="=x11-libs/gtk+-1.2* @@ -22,7 +22,7 @@ src_unpack() { cd ${S} for FILE in `find . -iname "Makefile*"`;do sed -e "s:\(^CFLAGS =.*\):\1 ${CFLAGS}:" \ - -e "s:\(^CPPFLAGS =.*\):\1 ${CPPFLAGS}:" \ + -e "s:\(^CPPFLAGS =.*\):\1 ${CPPFLAGS}:" \ ${FILE} > ${FILE}.hacked || die "Hack failed" mv ${FILE}.hacked ${FILE} done @@ -33,7 +33,7 @@ src_compile() { CFLAGS="${CPPFLAGS} -Wno-error" CPPFLAGS="${CPPFLAGS} -Wno-deprecated" cp /usr/share/libtool/ltmain.sh . - ./configure --host=${CHOST} --prefix=/usr || die "Configure failed" + econf || die "Configure failed" emake || die "Make failed" } @@ -44,4 +44,3 @@ src_install() { docinto Documentation dodoc Documentation/* } - |