From b682f1efe3d8953d9c0a23445c6dbf808fa9b6cd Mon Sep 17 00:00:00 2001 From: Anthoine Bourgeois Date: Tue, 14 Oct 2014 23:21:09 +0200 Subject: corewars-0.9.13-r1.ebuild - add a new corewars robot - fix egamesconf - fix a crash when try to load a new robot's directory --- games-simulation/corewars/corewars-0.9.13-r1.ebuild | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'games-simulation/corewars/corewars-0.9.13-r1.ebuild') diff --git a/games-simulation/corewars/corewars-0.9.13-r1.ebuild b/games-simulation/corewars/corewars-0.9.13-r1.ebuild index 552d250..a369dfd 100644 --- a/games-simulation/corewars/corewars-0.9.13-r1.ebuild +++ b/games-simulation/corewars/corewars-0.9.13-r1.ebuild @@ -22,16 +22,20 @@ DEPEND="${RDEPEND}" src_prepare() { epatch "${DISTDIR}"/${PN}-gtk2.patch.gz epatch "${FILESDIR}"/${PV}-corewars-lm.patch + epatch "${FILESDIR}"/${PV}-fix-get_current_dir_name-prototype.patch eautoreconf } + src_configure() { - econf $(use_enable debug gcc-debug) + egamesconf $(use_enable debug gcc-debug) } src_install() { make DESTDIR="${D}" install || die "make install failed" + insinto "${GAMES_DATADIR}"/${PN} + doins "${FILESDIR}/reroute.cw" dodoc ChangeLog README doc/{TODO,DIFFERENCES,INTERESTING-COMBINATIONS} prepgamesdirs } -- cgit v1.2.3-18-g5258