summaryrefslogtreecommitdiff
blob: d419e573ca499c122b8b20285e2b8e0ccac3421f (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
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-rpg/tux_aqfh/tux_aqfh-1.0.14.ebuild,v 1.11 2007/10/01 00:10:34 mr_bones_ Exp $

inherit autotools eutils games

DESCRIPTION="A puzzle game starring Tux, the linux penguin"
HOMEPAGE="http://tuxaqfh.sourceforge.net/"
SRC_URI="http://tuxaqfh.sourceforge.net/dist/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha ~amd64 ~ppc x86"
IUSE=""

# fails with glut, works with freeglut.  no whining. bug #149871
RDEPEND="media-libs/freeglut
	x11-libs/libXmu
	x11-libs/libXi
	virtual/glu
	virtual/opengl"
DEPEND="${RDEPEND}
	>=media-libs/plib-1.8.0"

src_unpack() {
	unpack ${A}
	cd "${S}"
	epatch "${FILESDIR}"/${PV}-fix-paths.patch
	eautoreconf
}

src_install() {
	emake DESTDIR="${D}" install || die "emake install failed"
	dodoc AUTHORS CHANGES README
	dohtml doc/*.{html,png}
	prepgamesdirs
}