blob: e7a6ac1c03570be6b571ca712519e3dadc998475 (
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
|
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-action/maelstrom/maelstrom-3.0.6.ebuild,v 1.7 2004/04/19 20:33:48 wolf31o2 Exp $
inherit eutils games
MY_P=Maelstrom-${PV}
S=${WORKDIR}/${MY_P}
DESCRIPTION="An asteroids battle game"
SRC_URI="http://www.devolution.com/~slouken/Maelstrom/src/${MY_P}.tar.gz"
HOMEPAGE="http://www.devolution.com/~slouken/Maelstrom/"
KEYWORDS="x86 ppc alpha"
SLOT="0"
LICENSE="GPL-2"
IUSE=""
DEPEND=">=media-libs/libsdl-1.1.5
>=media-libs/sdl-net-1.2.2"
pkg_setup() {
games_pkg_setup
}
src_unpack() {
unpack ${A} ; cd ${S}
epatch ${FILESDIR}/${P}-security.patch
# Remove redundant games in directory
sed -i -e 's/\/games\//\//g' configure
}
src_install() {
egamesinstall || die
dodoc ChangeLog README TODO DIFFERENCES INTERESTING-COMBINATIONS
insinto /usr/share/pixmaps
newins ${D}/usr/games/Maelstrom/icon.xpm maelstrom.xpm
make_desktop_entry Maelstrom "Maelstrom" maelstrom.xpm
prepgamesdirs
}
pkg_postinst() {
games_pkg_postinst
}
|