| # Copyright 1999-2006 Gentoo Foundation |
| # Distributed under the terms of the GNU General Public License v2 |
| # $Id$ |
| |
| inherit games |
| |
| DESCRIPTION="SG-1000, SC-3000, SF-7000, SSC, SMS, GG, COLECO, and OMV emulator" |
| HOMEPAGE="http://www.smspower.org/meka/" |
| SRC_URI="http://www.smspower.org/meka/releases/${PN}${PV}.tgz" |
| |
| LICENSE="mekanix" |
| SLOT="0" |
| KEYWORDS="x86" |
| RESTRICT="strip" |
| IUSE="" |
| |
| RDEPEND="media-libs/libpng |
| x11-libs/libXpm" |
| |
| S=${WORKDIR}/${PN} |
| |
| src_install() { |
| local dir="${GAMES_PREFIX_OPT}/${PN}" |
| |
| insinto "${dir}" |
| doins * || die "doins failed" |
| fperms a+x "${dir}/meka.exe" |
| games_make_wrapper mekanix ./meka.exe "${dir}" |
| prepgamesdirs |
| } |