summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2004-01-21 10:51:55 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2004-01-21 10:51:55 +0000
commitd78e06fbe77de653a5d6d39496bb89a1e548b269 (patch)
tree539586ac74f5fddfa7d5c2aad3c5f25c72f6dc32 /games-arcade/emilia-pinball/emilia-pinball-0.3.1.ebuild
parentAdded support for the flac use variable which address bug #37802 (Manifest re... (diff)
downloadgentoo-2-d78e06fbe77de653a5d6d39496bb89a1e548b269.tar.gz
gentoo-2-d78e06fbe77de653a5d6d39496bb89a1e548b269.tar.bz2
gentoo-2-d78e06fbe77de653a5d6d39496bb89a1e548b269.zip
more error checking/messages
Diffstat (limited to 'games-arcade/emilia-pinball/emilia-pinball-0.3.1.ebuild')
-rw-r--r--games-arcade/emilia-pinball/emilia-pinball-0.3.1.ebuild17
1 files changed, 10 insertions, 7 deletions
diff --git a/games-arcade/emilia-pinball/emilia-pinball-0.3.1.ebuild b/games-arcade/emilia-pinball/emilia-pinball-0.3.1.ebuild
index 0942da11f779..66d50a057ae9 100644
--- a/games-arcade/emilia-pinball/emilia-pinball-0.3.1.ebuild
+++ b/games-arcade/emilia-pinball/emilia-pinball-0.3.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header:
@@ -11,9 +11,10 @@ HOMEPAGE="http://pinball.sourceforge.net/"
SRC_URI="mirror://sourceforge/pinball/${MY_P}.tar.gz"
RESTRICT="nomirror"
+KEYWORDS="x86 alpha"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="x86 alpha"
+IUSE=""
DEPEND="virtual/opengl
virtual/x11
@@ -27,16 +28,18 @@ src_compile() {
egamesconf \
--with-x \
|| die
- emake -j1 CXXFLAGS="${CXXFLAGS}" || die
+ emake -j1 CXXFLAGS="${CXXFLAGS}" || die "emake failed"
}
src_install() {
- dodoc INSTALL README
- make DESTDIR=${D} install || die
+ dodoc INSTALL README || die "dodoc failed"
+ make DESTDIR=${D} install || die "make install failed"
dosym ${GAMES_BINDIR}/pinball ${GAMES_BINDIR}/emilia-pinball
- mv ${D}/${GAMES_PREFIX}/include ${D}/usr/
+ mv "${D}/${GAMES_PREFIX}/include" "${D}/usr/" \
+ || die "mv failed (include)"
dodir /usr/bin
- mv ${D}/${GAMES_BINDIR}/pinball-config ${D}/usr/bin/
+ mv "${D}/${GAMES_BINDIR}/pinball-config" "${D}/usr/bin/" \
+ || die "mv failed (bin)"
dosed 's:-I${prefix}/include/pinball:-I/usr/include/pinball:' /usr/bin/pinball-config
prepgamesdirs
}