summaryrefslogtreecommitdiff
blob: ca9ae6fddeb72aada658233dbe9c62b712b50ea4 (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
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-action/gltron/gltron-0.62.ebuild,v 1.3 2004/06/24 21:55:42 agriffis Exp $

inherit games

DESCRIPTION="3d tron, just like the movie"
SRC_URI="mirror://sourceforge/gltron/${P}-source.tar.gz"
HOMEPAGE="http://gltron.sourceforge.net/"

KEYWORDS="x86 ppc"
SLOT="0"
LICENSE="GPL-2"

DEPEND="virtual/x11
	virtual/opengl
	media-libs/libsdl
	media-libs/sdl-mixer
	sys-libs/zlib
	media-libs/libpng"
RDEPEND="${DEPEND}
	media-libs/sdl-sound"

src_compile() {
	egamesconf || die
	emake || die
}

src_install() {
	emake install DESTDIR=${D} || die
	dodoc CREDITS ChangeLog FAQ README TODO
	dohtml *.html
	prepgamesdirs
}