Package-Manager: portage-2.2.24
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI=4
+EAPI=5
inherit eutils games
DESCRIPTION="A retro side-scrolling shoot'em up based on the editor war story"
epatch "${FILESDIR}"/${P}-sound.patch
sed -i \
-e "/^WITHAUDIO/s/yes/$(use portaudio && echo yes || echo no)/" \
- Makefile \
- || die "sed failed"
+ Makefile || die
sed -i \
-e "s:GENTOO_DATADIR:${GAMES_DATADIR}/${PN}:" \
- wwviaudio.c \
- || die "sed failed"
+ wwviaudio.c || die
}
src_compile() {