Package-Manager: portage-2.2.24
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI=4
+EAPI=5
inherit autotools eutils games
DESCRIPTION="2D length scroll shooting game"
sed -i \
-e '1i #include <string.h>' \
-e "s:DATA_PATH \"/.score\":\"${GAMES_STATEDIR}/${PN}\":" \
- src/ranking.c \
- || die "sed failed"
+ src/ranking.c || die
sed -i -e '/CFLAGS/s/$/ @CFLAGS@/' src/Makefile.am || die #bug 426890
epatch "${FILESDIR}"/${P}-paths.patch
mv configure.{in,ac}
src_install() {
default
- emake DESTDIR="${D}" install
insinto "${GAMES_STATEDIR}"
newins data/.score ${PN}
fperms g+w "${GAMES_STATEDIR}"/${PN}