diff options
author | Mike Frysinger <vapier@gentoo.org> | 2002-11-30 01:38:27 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2002-11-30 01:38:27 +0000 |
commit | 83a12814b964f07a60192de9f42cd82d125a2dcf (patch) | |
tree | 3fdfe666a2d8962d1af93c34004a5287af2ff766 /app-admin/powertweak | |
parent | Changed mkdir ${D} to dodir ${D} (diff) | |
download | gentoo-2-83a12814b964f07a60192de9f42cd82d125a2dcf.tar.gz gentoo-2-83a12814b964f07a60192de9f42cd82d125a2dcf.tar.bz2 gentoo-2-83a12814b964f07a60192de9f42cd82d125a2dcf.zip |
Changed econf||die to econf
Diffstat (limited to 'app-admin/powertweak')
-rw-r--r-- | app-admin/powertweak/powertweak-0.1.17-r2.ebuild | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/app-admin/powertweak/powertweak-0.1.17-r2.ebuild b/app-admin/powertweak/powertweak-0.1.17-r2.ebuild index 50f2bc6bd868..81bac51d7831 100644 --- a/app-admin/powertweak/powertweak-0.1.17-r2.ebuild +++ b/app-admin/powertweak/powertweak-0.1.17-r2.ebuild @@ -1,12 +1,10 @@ # 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.1.17-r2.ebuild,v 1.6 2002/10/18 13:31:45 aliz Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/powertweak/powertweak-0.1.17-r2.ebuild,v 1.7 2002/11/30 01:38:27 vapier Exp $ -S=${WORKDIR}/${P} DESCRIPTION="Powertweak" SRC_URI="http://powertweak.sourceforge.net/files/${P}.tar.bz2" HOMEPAGE="http://powertweak.sourceforge.net" -IUSE="" SLOT="0" LICENSE="GPL-2" @@ -16,31 +14,28 @@ 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 + cp ${FILE} ${FILE}.hacked sed -e "s:\(^CFLAGS =.*\):\1 ${CFLAGS}:" \ -e "s:\(^CPPFLAGS =.*\):\1 ${CPPFLAGS}:" \ - ${FILE} > ${FILE}.hacked || die "Hack failed" - mv ${FILE}.hacked ${FILE} + ${FILE}.hacked > ${FILE} || die "Hack failed" done -} +} src_compile() { - CFLAGS="${CPPFLAGS} -Wno-error" CPPFLAGS="${CPPFLAGS} -Wno-deprecated" cp /usr/share/libtool/ltmain.sh . - econf || die "Configure failed" + econf emake || die "Make failed" } src_install() { - - make install prefix=${D}/usr || die "Install failed" + einstall dodoc AUTHORS COPYING ChangeLog INSTALL NEWS README docinto Documentation dodoc Documentation/* |