I recently upload new revision of Memonix code on our site, and was surprised that gentoo portages still have only games-kids/memonix-bin , and don't have games-kids/memonix 0_0 Here is all necessary information about Memonix compilation form sources: http://www.viewizard.com/download.php?forceos=linux&forcegame=memonix Both x86 and amd64 arches are supported.
Created attachment 329576 [details] memonix-1.6.ebuild
Created attachment 329578 [details] memonix-1.6.ebuild
Created attachment 329582 [details] memonix-1.6.ebuild
Comment on attachment 329582 [details] memonix-1.6.ebuild --- memonix-bin-1.6.ebuild 2009-11-21 20:33:55.000000000 +0100 +++ - 2012-11-15 06:40:17.548247829 +0100 @@ -1,35 +1,45 @@ -# Copyright 1999-2009 Gentoo Foundation +# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-kids/memonix-bin/memonix-bin-1.6.ebuild,v 1.4 2009/11/21 19:33:55 maekke Exp $ +# $Header: $ -inherit eutils games +EAPI=4 + +inherit cmake-utils games -MY_PN=${PN%-bin} DESCRIPTION="Brain teasers, puzzle and memory games for kid's in one pack" HOMEPAGE="http://www.viewizard.com/memonix/" -SRC_URI="http://www.viewizard.com/download/memx${PV//./}.tar.gz - mirror://gentoo/memonix-addons-1.tar.bz2" +SRC_URI="http://www.viewizard.com/download/${PN}_${PV}_src.tar.bz2" LICENSE="Memonix" SLOT="0" -KEYWORDS="x86" +KEYWORDS="~amd64 ~x86" IUSE="" -RESTRICT="strip" -DEPEND="" -RDEPEND="" +DEPEND="dev-util/cmake" +RDEPEND="media-libs/libsdl + media-libs/sdl-image + media-libs/sdl-mixer + !games-kids/memonix-bin" + +S="${WORKDIR}/MemonixSourceCode" -S=${WORKDIR}/Memonix +src_configure() { + cmake-utils_src_configure +} + +src_compile() { + cmake-utils_src_compile +} src_install() { - exeinto "${GAMES_PREFIX_OPT}/${MY_PN}" - doexe Memonix || die "doexe failed" - insinto "${GAMES_PREFIX_OPT}/${MY_PN}" - doins gamedata.vfs "${WORKDIR}"/addons/* || die "doins failed" - dodoc Changes ReadMe - - games_make_wrapper ${MY_PN} "./Memonix" "${GAMES_PREFIX_OPT}/${MY_PN}" - newicon icon48.png ${MY_PN}.png || die "newicon failed" - make_desktop_entry ${MY_PN} "Memonix" ${MY_PN} + dodoc ReadMe.txt + cd .. + exeinto "${GAMES_DATADIR}/${PN}" + doexe "${P}_build/Memonix" || die "doexe failed" + insinto "${GAMES_DATADIR}/${PN}" + doins "gamedata.vfs" || die "doins failed" + games_make_wrapper ${PN} "${GAMES_DATADIR}/${PN}/Memonix" "${GAMES_DATADIR}/${PN}" + newicon "icon48.png" "${PN}.png" || die "newicon failed" + make_desktop_entry ${PN} prepgamesdirs }
in portage.
Please note, game license should be GPLv3 for open source version of Memonix.