blob: 8e4e1e1b3004b286ddfb0c29cb8d2aa8afef7569 (
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
38
39
40
|
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-arcade/snake3d/snake3d-0.9.ebuild,v 1.2 2007/04/02 14:57:48 nyhm Exp $
inherit eutils toolchain-funcs games
DESCRIPTION="variant of the snake game"
HOMEPAGE="http://sourceforge.net/projects/worms3d/"
SRC_URI="mirror://sourceforge/worms3d/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="media-libs/sdl-net
virtual/opengl
virtual/glut
virtual/glu
media-libs/libsdl"
S=${WORKDIR}/${PN}
src_unpack() {
unpack ${A}
cd "${S}"
epatch \
"${FILESDIR}"/${P}-amd64.patch \
"${FILESDIR}"/${P}-build.patch
}
src_compile() {
emake CXX=$(tc-getCXX) -C src snake3d.linux || die "emake failed"
}
src_install() {
dogamesbin ${PN} || die "dogamesbin failed"
dodoc ChangeLog README TODO
prepgamesdirs
}
|