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

inherit games

DESCRIPTION="Day of the Tentacle (non-interactive demo)"
SRC_URI="http://www.cowlark.com/scumm.dat/dott-demo.zip"

LICENSE="freedist"
SLOT="0"
KEYWORDS="x86"
IUSE=""
RESTRICT="strip"

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

S=${WORKDIR}/dott-demo

src_install() {
	games_make_wrapper dottdemo "scummvm -f -p \"${GAMES_DATADIR}/${PN}\" tentacle" .
	insinto "${GAMES_DATADIR}/${PN}"
	doins dottdemo.000 dottdemo.001 monster.sou
	prepgamesdirs
}