summaryrefslogtreecommitdiff
blob: 2b9183346a25fe60ab559ea7851338f8cd52be36 (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
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=3

inherit games

DESCRIPTION="a opensource cross platform jump and run game"
HOMEPAGE="http://www.frogatto.com"
SRC_URI="http://www.frogatto.com/files/${P}.tar.bz2"

LICENSE="GPL-3 free-noncomm"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""

DEPEND=""
RDEPEND="${DEPEND}"

src_compile() {
	emake game server || die
}

src_install() {
	exeinto ${GAMES_PREFIX_OPT}/${PN}/
	doexe game || die
	doexe server || die
	games_make_wrapper ${PN} ./game ${GAMES_PREFIX_OPT}/${PN}/ || die
	insinto ${GAMES_PREFIX_OPT}/${PN}/
	doins -r data || die
	doins -r images || die
	doins -r music || die
	doins -r sounds || die
}