blob: 90ec4eeb0fd550c23e4d7458b4254ab35a426db1 (
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
54
55
56
57
58
59
|
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-action/astromenace-bin/astromenace-bin-1.0.ebuild,v 1.1 2007/02/19 16:54:16 mr_bones_ Exp $
inherit eutils versionator games
MY_PN=${PN%-bin}
MY_PV=$(delete_all_version_separators)
DESCRIPTION="Modern 3D space shooter with spaceship upgrade possibilities"
HOMEPAGE="http://www.viewizard.com/astromenace/index_linux.php"
SRC_URI="http://www.viewizard.com/download/amenace${MY_PV}.tar.bz2"
LICENSE="astromenace"
KEYWORDS="x86"
IUSE=""
SLOT="0"
RESTRICT="strip"
RDEPEND="
virtual/glu
virtual/opengl
>=media-libs/freealut-1.0.1
>=media-libs/jpeg-6b
x11-libs/libX11
x11-libs/libXau
x11-libs/libXdmcp
x11-libs/libXext
x11-libs/libXrandr
x11-libs/libXrender
media-libs/libmikmod
>=media-libs/openal-0.0.8
>=media-libs/sdl-image-1.2.4
>=media-libs/libsdl-1.2.6
>=media-libs/libogg-1.1
>=media-libs/libvorbis-1.1"
S=${WORKDIR}/${MY_PN}
src_install() {
exeinto "${GAMES_PREFIX_OPT}/${MY_PN}"
if use amd64; then
newexe AstroMenace64 AstroMenace || die "newexe failed"
else
doexe AstroMenace || die "doexe failed"
fi
insinto "${GAMES_PREFIX_OPT}/${MY_PN}"
doins -r gamedata.vfs DATA || die "doins failed"
docinto ${MY_PN}
dodoc ChangeLog.txt ReadMe.txt
games_make_wrapper ${MY_PN} "./AstroMenace" "${GAMES_PREFIX_OPT}/${MY_PN}"
newicon ${MY_PN}_128.png ${MY_PN}.png || die "newicon failed"
make_desktop_entry ${MY_PN} "Astro Menace" ${MY_PN}.png
prepgamesdirs
}
|