Summary: | gameandwatch-0.3.ebuild - This is a generic engine for simulation of Game & Watch-like games | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | daktak <daktak> |
Component: | New packages | Assignee: | Default Assignee for New Packages <maintainer-wanted> |
Status: | UNCONFIRMED --- | ||
Severity: | enhancement | CC: | tomwij |
Priority: | Normal | Keywords: | EBUILD, PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://www.rangelreale.com/programming/game-watch-simulator | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
files/gameandwatch-0.3.patch
gameandwatch-0.3.ebuild files/gameandwatch-0.3.patch gameandwatch-0.3.ebuild |
Description
daktak
2013-01-22 05:36:06 UTC
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
|