summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2004-06-07 05:28:57 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2004-06-07 05:28:57 +0000
commita5a9a0d259a130115559762a394e88221cf50852 (patch)
tree12f099eb30aa2ab42a1bec5127e27ccd0ddc4535 /games-emulation/fake64
parentstable keywords (Manifest recommit) (diff)
downloadgentoo-2-a5a9a0d259a130115559762a394e88221cf50852.tar.gz
gentoo-2-a5a9a0d259a130115559762a394e88221cf50852.tar.bz2
gentoo-2-a5a9a0d259a130115559762a394e88221cf50852.zip
IUSE; tidy; error check sed
Diffstat (limited to 'games-emulation/fake64')
-rw-r--r--games-emulation/fake64/ChangeLog8
-rw-r--r--games-emulation/fake64/fake64-0.0.4_pre20021020.ebuild44
2 files changed, 31 insertions, 21 deletions
diff --git a/games-emulation/fake64/ChangeLog b/games-emulation/fake64/ChangeLog
index 52719ef4af33..39d7659b2c54 100644
--- a/games-emulation/fake64/ChangeLog
+++ b/games-emulation/fake64/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-emulation/fake64
-# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/fake64/ChangeLog,v 1.1 2003/09/19 05:06:16 vapier Exp $
+# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/fake64/ChangeLog,v 1.2 2004/06/07 05:28:57 mr_bones_ Exp $
+
+ 06 Jun 2004; Michael Sterrett <mr_bones_@gentoo.org>
+ fake64-0.0.4_pre20021020.ebuild:
+ IUSE; tidy; error check sed
*fake64-0.0.4_pre20021020 (19 Sep 2003)
diff --git a/games-emulation/fake64/fake64-0.0.4_pre20021020.ebuild b/games-emulation/fake64/fake64-0.0.4_pre20021020.ebuild
index e9996e4d76fe..af5735974326 100644
--- a/games-emulation/fake64/fake64-0.0.4_pre20021020.ebuild
+++ b/games-emulation/fake64/fake64-0.0.4_pre20021020.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/fake64/fake64-0.0.4_pre20021020.ebuild,v 1.2 2004/02/20 06:26:47 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/fake64/fake64-0.0.4_pre20021020.ebuild,v 1.3 2004/06/07 05:28:57 mr_bones_ Exp $
inherit games
@@ -11,13 +11,14 @@ SRC_URI="http://www.fakelabs.org/code/fake64/Fake64-20.10.2002.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86"
+IUSE=""
DEPEND="virtual/x11
virtual/opengl
virtual/glu
media-libs/libsdl"
-S=${WORKDIR}/${PN}
+S="${WORKDIR}/${PN}"
src_unpack() {
unpack ${A}
@@ -25,37 +26,42 @@ src_unpack() {
sed -i \
-e "s:@bindir@/fake64:${S}/blah:" \
-e 's:/etc/fake64rc:\$(DESTDIR)@sysconfdir@/fake64rc:' \
- Makefile.am
- sed -i "s:/etc/fake64rc:${GAMES_SYSCONFDIR}/fake64rc:" \
- romloader/configfile.c
+ Makefile.am \
+ || die "sed Makefile.am failed"
+ sed -i \
+ -e "s:/etc/fake64rc:${GAMES_SYSCONFDIR}/fake64rc:" \
+ romloader/configfile.c \
+ || die "sed romloader/configfile.c failed"
touch blah
./autogen.sh || die "autogen failed"
}
src_compile() {
econf \
- `use_enable x86` \
- `use_enable mmx` \
- `use_enable 3dnow` \
- `use_enable sse` \
+ $(use_enable x86) \
+ $(use_enable mmx) \
+ $(use_enable 3dnow) \
+ $(use_enable sse) \
|| die
- emake || die
+ emake || die "emake failed"
}
src_install() {
dodir /etc
- emake install DESTDIR=${D} || die
+ make DESTDIR="${D}" install || die "make install failed"
dodoc AUTHORS COMPATIBILITY ChangeLog NEWS README TODO
- cd ${D}/etc
- sed -i "s:/usr/local/fake64/plugins:${GAMES_LIBDIR}/${PN}:" fake64rc
- insinto ${GAMES_SYSCONFDIR}
+ cd "${D}/etc"
+ sed -i \
+ -e "s:/usr/local/fake64/plugins:${GAMES_LIBDIR}/${PN}:" fake64rc \
+ || die "sed fake64rc failed"
+ insinto "${GAMES_SYSCONFDIR}"
doins fake64rc && rm fake64rc
- cd ${D}/usr/fake64
- dogamesbin bin/*
- dosym romloader ${GAMES_BINDIR}/fake64
- dodir ${GAMES_LIBDIR}/${PN}
- mv plugins/* ${D}/${GAMES_LIBDIR}/${PN}/
+ cd "${D}/usr/fake64"
+ dogamesbin bin/* || die "dogamesbin failed"
+ dosym romloader "${GAMES_BINDIR}/fake64"
+ dodir "${GAMES_LIBDIR}/${PN}"
+ mv plugins/* "${D}/${GAMES_LIBDIR}/${PN}/"
cd .. && rm -rf fake64
prepgamesdirs