summaryrefslogtreecommitdiff
blob: 37effcde46877c45ce86cf3b8607fdd9e5bed640 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit eutils games

DESCRIPTION="I Have No Mouth, and I Must Scream (interactive demo)"
HOMEPAGE="http://harlanellison.com/herc.htm#ihnm"
SRC_URI="http://gentooexperimental.org/~unlord/scream.rar"

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

RDEPEND=">=games-engines/scummvm-0.11.0"
DEPEND="|| (
	app-arch/unrar
	app-arch/rar )"

S=${WORKDIR}

src_install() {
	local dir=${GAMES_DATADIR}/${PN}
	insinto "${dir}"
	doins MUSIC.RES SCREAM.RES SCRIPTS.RES SFX.RES VOICESD.RES || die "doins failed"

	games_make_wrapper ${PN} "scummvm -f -p \"${dir}\" ihnm-demo"
	make_desktop_entry ${PN} "I Have No Mouth, and I Must Scream (Demo)"

	prepgamesdirs
}