# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit games

DESCRIPTION="Simon the Sorcerer (interactive demo)"
HOMEPAGE="http://www.adventuresoft.com/gs1.html"
SRC_URI="http://quick.mixnmojo.com/demos/simon1demo_acorn.rar"

LICENSE="freedist"
SLOT="0"
KEYWORDS="x86"

RDEPEND=">=games-engines/scummvm-0.6.0"
DEPEND="${RDEPEND}
	app-arch/unrar"

S=${WORKDIR}

src_install() {
	games_make_wrapper simon1demo "scummvm -f -p \"${GAMES_DATADIR}/${PN}\" simon1" .
	insinto "${GAMES_DATADIR}/${PN}"
	doins DATA EFFECTS SIMON
	doins -r EXECUTE
	prepgamesdirs
}