summaryrefslogtreecommitdiff
blob: 01ccfd91050c1f7a369b9bcbc2ecd9ef13b4ea66 (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
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-puzzle/fbg/fbg-0.9.ebuild,v 1.1 2003/09/10 06:36:00 vapier Exp $

inherit games

DESCRIPTION="A tetris-clone written in OpenGL"
HOMEPAGE="http://home.attbi.com/~furiousjay/code/fbg.html"
SRC_URI="mirror://sourceforge/fbg/${P}.tar.gz"

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

DEPEND="virtual/x11
	virtual/opengl
	virtual/glu
	>=dev-games/physfs-0.1.7
	>=media-libs/libsdl-1.2.0
	>=media-libs/libmikmod-3.1.10"

src_compile() {
	egamesconf --disable-fbglaunch || die
	emake || die
}

src_install() {
	make DESTDIR=${D} install || die
	dodoc README TODO AUTHORS
	prepgamesdirs
}

pkg_postinst() {
	games_pkg_postinst
	einfo "less /usr/share/doc/${PF}/README.gz for play-instructions"
}