summaryrefslogtreecommitdiff
blob: cca13453386270004a3285cff7c2e72a93b7480e (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
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-arcade/tuxpuck/tuxpuck-0.8.1.ebuild,v 1.1 2003/09/10 19:29:21 vapier Exp $

inherit games

DESCRIPTION="Hover hockey"
SRC_URI="http://www.efd.lth.se/~d00jkr/tuxpuck/${P}.tar.gz"
HOMEPAGE="http://www.efd.lth.se/~d00jkr/tuxpuck/"

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

DEPEND=">=media-libs/libsdl-1.1.5
	media-libs/libpng
	>=media-libs/libvorbis-1.0_rc3"
RDEPEND="$DEPEND"

src_compile() {
	export CPP_FLAGS="${CPPFLAGS} -I/usr/include/libpng12"
	make || die
}

src_install() {
	insinto /usr/games/bin
	doins tuxpuck
	fperms +x /usr/games/bin/tuxpuck
	fowners games.games /usr/games/bin/tuxpuck
	doman man/tuxpuck.6
	dodoc COPYING *.txt
}