This is a generic engine for simulation of Game & Watch-like games http://www.rangelreale.com/programming/game-watch-simulator Reproducible: Always
Created attachment 336442 [details] files/gameandwatch-0.3.patch
Created attachment 336444 [details] gameandwatch-0.3.ebuild
>src_configure() { > ... > ./autogen.sh || die "failed autogen" > ... >} This shouldn't be in the src_configure phase and happens automatically by autotools-utils if you set the variable AUTOTOOLS_AUTORECONF to a non-empty value. >src_configure() { > ... > epatch "${FILESDIR}/${P}.patch" || die >} This patch just patches some code thus doesn't need to happen in the src_configure phase, you can specify the PATCHES=( "${FILESDIR}/${P}.patch" ) variable instead. By applying these two changes, the chance is high you can just remove the src_configure phase and let Portage do its default one. The src_compile phase can also be removed. If these changes don't work, it's because you don't set the S variable right; so, instead of using MY_S you could just use S iff it differs from the default S. http://devmanual.gentoo.org/eclass-reference/autotools-utils.eclass http://devmanual.gentoo.org/ebuild-writing/functions/src_configure http://devmanual.gentoo.org/ebuild-writing/functions/src_compile http://devmanual.gentoo.org/ebuild-writing/variables
Created attachment 336538 [details] files/gameandwatch-0.3.patch
Created attachment 336540 [details] gameandwatch-0.3.ebuild