summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2004-06-14 05:29:44 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2004-06-14 05:29:44 +0000
commitbd8876af8f761b915b23409a482defdde998ee93 (patch)
tree13d079c60cf0945d4f098be8b96f2b8c9ab654bc /games-emulation/openmsx/openmsx-0.4.0.ebuild
parentAdd IUSE; tidy (Manifest recommit) (diff)
downloadgentoo-2-bd8876af8f761b915b23409a482defdde998ee93.tar.gz
gentoo-2-bd8876af8f761b915b23409a482defdde998ee93.tar.bz2
gentoo-2-bd8876af8f761b915b23409a482defdde998ee93.zip
add eutils for epatch; tidy
Diffstat (limited to 'games-emulation/openmsx/openmsx-0.4.0.ebuild')
-rw-r--r--games-emulation/openmsx/openmsx-0.4.0.ebuild19
1 files changed, 9 insertions, 10 deletions
diff --git a/games-emulation/openmsx/openmsx-0.4.0.ebuild b/games-emulation/openmsx/openmsx-0.4.0.ebuild
index 01fe40abafe2..26989039449b 100644
--- a/games-emulation/openmsx/openmsx-0.4.0.ebuild
+++ b/games-emulation/openmsx/openmsx-0.4.0.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/openmsx/openmsx-0.4.0.ebuild,v 1.1 2004/06/12 20:13:55 chainsaw Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/openmsx/openmsx-0.4.0.ebuild,v 1.2 2004/06/14 05:29:44 mr_bones_ Exp $
-inherit games flag-o-matic
+inherit flag-o-matic eutils games
DESCRIPTION="MSX emulator that aims for perfection"
HOMEPAGE="http://openmsx.sourceforge.net/"
@@ -14,7 +14,7 @@ SLOT="0"
KEYWORDS="~x86 ~sparc ~ppc"
IUSE=""
-RDEPEND="dev-lang/tcl
+DEPEND="dev-lang/tcl
dev-libs/libxml2
media-libs/libpng
sys-libs/zlib
@@ -22,32 +22,31 @@ RDEPEND="dev-lang/tcl
media-libs/libsdl
virtual/x11
virtual/opengl"
-DEPEND="${RDEPEND}
- >=sys-apps/sed-4"
src_unpack() {
unpack ${A}
cd ${S}
- epatch ${FILESDIR}/${P}-custom.mk.patch
- epatch ${FILESDIR}/${P}-symlinking.patch
+ epatch "${FILESDIR}/${P}-custom.mk.patch"
+ epatch "${FILESDIR}/${P}-symlinking.patch"
}
src_compile() {
# fix bug 32745
replace-flags -Os -O2
- egamesconf || die "Fatal error in configure script"
+ egamesconf || die
emake || die "Fatal error during compilation"
}
src_install() {
- egamesinstall OPENMSX_INSTALL="${D}/usr/games/openmsx" || die "Fatal error during installation"
+ egamesinstall \
+ OPENMSX_INSTALL="${D}/usr/games/openmsx" || die
dodoc README AUTHORS
dohtml -r doc/*
# Tidy up install
- rm -f ${D}${GAMES_DATADIR}/openmsx/*.{txt,tex,html,png,css}
+ rm -f "${D}${GAMES_DATADIR}/openmsx/"*.{txt,tex,html,png,css}
prepgamesdirs
}