diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2004-03-28 20:32:04 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2004-03-28 20:32:04 +0000 |
commit | 18eeaca92562572951c128aa4acdabe02b6ffae0 (patch) | |
tree | 68e014aff68b27807f350a94aa1da05f1b6205ab /games-arcade/epiar/epiar-0.5.ebuild | |
parent | Small edit to jabberoo and gabber (diff) | |
download | historical-18eeaca92562572951c128aa4acdabe02b6ffae0.tar.gz historical-18eeaca92562572951c128aa4acdabe02b6ffae0.tar.bz2 historical-18eeaca92562572951c128aa4acdabe02b6ffae0.zip |
error check sed; depend on sed >= 4; remove unused debug from IUSE
Diffstat (limited to 'games-arcade/epiar/epiar-0.5.ebuild')
-rw-r--r-- | games-arcade/epiar/epiar-0.5.ebuild | 31 |
1 files changed, 18 insertions, 13 deletions
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 } |