blob: 702e70af56ccbecfa146d3b4084da4520624ee7a (
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
41
42
43
44
45
46
47
48
49
50
51
52
53
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-action/luola/luola-1.3.0-r1.ebuild,v 1.1 2006/04/08 16:41:05 mr_bones_ Exp $
inherit eutils games
DESCRIPTION="A 2D multiplayer arcade game resembling V-Wing"
HOMEPAGE="http://luolamies.org/software/luola/"
PATCHES="http://luolamies.org/software/luola/luola-1.3.0-1.patch
http://luolamies.org/software/luola/luola-1.3.0-2.patch"
SRC_URI="http://luolamies.org/software/luola/${P}.tar.gz
http://www.luolamies.org/software/luola/stdlevels-5.2.tar.gz
http://www.luolamies.org/software/luola/nostalgia-1.1.tar.gz
${PATCHES}"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc x86"
IUSE=""
DEPEND="media-libs/libsdl
media-libs/sdl-gfx
media-libs/sdl-image
media-libs/sdl-mixer
media-libs/sdl-ttf"
src_unpack() {
local p
unpack ${A}
cd "${S}/src"
for p in ${PATCHES}
do
epatch "${DISTDIR}/${p##*/}"
done
}
src_compile() {
egamesconf --enable-sound || die
emake || die "emake failed"
}
src_install() {
make DESTDIR="${D}" install || die "make install failed"
insinto "${GAMES_DATADIR}"/${PN}/levels
doins "${WORKDIR}"/*.{lev,png} || die "doins failed"
dodoc AUTHORS ChangeLog DATAFILE FAQ LEVELFILE README TODO \
RELEASENOTES.txt ../README.Nostalgia
newdoc ../README README.stdlevels
doicon luola.png
make_desktop_entry luola Luola
prepgamesdirs
}
|