blob: 355638f22259419565af2717866141b2eee00788 (
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
34
35
36
37
38
|
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-arcade/afternoonstalker/afternoonstalker-1.1.1.ebuild,v 1.1 2007/03/24 10:06:11 tupone Exp $
inherit games
DESCRIPTION="Clone of the 1981 Night Stalker video game by Mattel Electronics"
HOMEPAGE="http://www3.sympatico.ca/sarrazip/dev/afternoonstalker.html"
SRC_URI="http://www3.sympatico.ca/sarrazip/dev/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
DEPEND="media-libs/libsdl
media-libs/sdl-image
media-libs/sdl-mixer
dev-games/flatzebra"
src_compile() {
egamesconf || die "egamesconf failed"
emake DGAMEDATADIR="${GAMES_DATADIR}/${PN}" \
pkgsounddir="${GAMES_DATADIR}/${PN}/sounds" \
|| die "emake failed"
}
src_install() {
dogamesbin src/${PN} || die "dogamesbin failed"
insinto "${GAMES_DATADIR}"/${PN}
doins -r src/data/* src/images/* src/sounds || die "doins failed"
dodoc AUTHORS NEWS README THANKS TODO
prepgamesdirs
}
|