summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2004-03-28 20:32:04 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2004-03-28 20:32:04 +0000
commit45d3bed766b4547fe42880f2607109995c74d56d (patch)
treec60a867b748fce3ac1a2a2e04e2d23eb94e25595 /games-arcade
parentSmall edit to jabberoo and gabber (diff)
downloadgentoo-2-45d3bed766b4547fe42880f2607109995c74d56d.tar.gz
gentoo-2-45d3bed766b4547fe42880f2607109995c74d56d.tar.bz2
gentoo-2-45d3bed766b4547fe42880f2607109995c74d56d.zip
error check sed; depend on sed >= 4; remove unused debug from IUSE
Diffstat (limited to 'games-arcade')
-rw-r--r--games-arcade/epiar/ChangeLog5
-rw-r--r--games-arcade/epiar/epiar-0.5.ebuild31
2 files changed, 22 insertions, 14 deletions
diff --git a/games-arcade/epiar/ChangeLog b/games-arcade/epiar/ChangeLog
index 5a28a9f7bfc8..7684ba381fa9 100644
--- a/games-arcade/epiar/ChangeLog
+++ b/games-arcade/epiar/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-arcade/epiar
# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/epiar/ChangeLog,v 1.2 2004/03/28 12:08:21 dholm Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/epiar/ChangeLog,v 1.3 2004/03/28 20:32:04 mr_bones_ Exp $
+
+ 28 Mar 2004; Michael Sterrett <mr_bones_@gentoo.org> epiar-0.5.ebuild:
+ error check sed; depend on sed >= 4; remove unused debug from IUSE
28 Mar 2004; David Holm <dholm@gentoo.org> epiar-0.5.ebuild:
Added to ~ppc.
diff --git a/games-arcade/epiar/epiar-0.5.ebuild b/games-arcade/epiar/epiar-0.5.ebuild
index f214bf94eefa..fed6316614e8 100644
--- a/games-arcade/epiar/epiar-0.5.ebuild
+++ b/games-arcade/epiar/epiar-0.5.ebuild
@@ -1,17 +1,17 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/epiar/epiar-0.5.ebuild,v 1.2 2004/03/28 12:08:21 dholm Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/epiar/epiar-0.5.ebuild,v 1.3 2004/03/28 20:32:04 mr_bones_ Exp $
-inherit games flag-o-matic
+inherit flag-o-matic games
DESCRIPTION="A space adventure/combat game"
HOMEPAGE="http://epiar.net/"
-SRC_URI="mirror://sourceforge/epiar/epiar-0.5.0-src.zip"
+SRC_URI="mirror://sourceforge/epiar/${P}.0-src.zip"
LICENSE="GPL-2 LGPL-2.1"
SLOT="0"
KEYWORDS="~x86 ~ppc"
-IUSE="alsa debug"
+IUSE="alsa"
RDEPEND="virtual/x11
virtual/glibc
@@ -22,34 +22,39 @@ RDEPEND="virtual/x11
media-libs/sdl-image
sys-libs/ncurses
sys-libs/zlib
- alsa? ( media-libs/alsa-lib )"
+ alsa? ( media-libs/alsa-lib )"
DEPEND="${RDEPEND}
+ >=sys-apps/sed-4
app-arch/unzip"
-S=${WORKDIR}
+S="${WORKDIR}"
src_unpack() {
unpack ${A}
cd ${S}
- sed -i "/^CFLAGS/s:-pg -g:${CFLAGS}:" Makefile.linux
+ sed -i \
+ -e "/^CFLAGS/s:-pg -g:${CFLAGS}:" Makefile.linux \
+ || die "sed Makefile.linux failed"
epatch ${FILESDIR}/${PV}-gentoo-paths.patch
- sed -i "s:GENTOO_DATAPATH:${GAMES_DATADIR}/${PN}/:" src/system/path.c
+ sed -i \
+ -e "s:GENTOO_DATAPATH:${GAMES_DATADIR}/${PN}/:" src/system/path.c \
+ || die "sed src/system/path.c failed"
}
src_compile() {
- emake -f Makefile.linux || die
+ emake -f Makefile.linux || die "emake failed"
}
src_install() {
- dogamesbin epiar || die
+ dogamesbin epiar || die "dogamesbin failed"
insinto ${GAMES_DATADIR}/${PN}
- doins *.eaf || die
+ doins *.eaf || die "doins failed"
insinto ${GAMES_DATADIR}/${PN}/missions
- doins missions/*.eaf
+ doins missions/*.eaf || die "doins failed (missions)"
dodir ${GAMES_DATADIR}/${PN}/plugins
dodoc AUTHORS ChangeLog README
-
+
prepgamesdirs
}