/[gentoo-x86]/games-action/armagetronad/armagetronad-0.2.7.1.ebuild
Gentoo

Contents of /games-action/armagetronad/armagetronad-0.2.7.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.9 - (show annotations) (download)
Sat Oct 28 07:40:54 2006 UTC (14 years, 1 month ago) by tupone
Branch: MAIN
CVS Tags: HEAD
Changes since 1.8: +1 -1 lines
FILE REMOVED
Fixing armagetronad dedicated. Bug #119351
(Portage version: 2.1.1)
 (Signed Manifest commit)

1 # Copyright 1999-2006 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/games-action/armagetronad/armagetronad-0.2.7.1.ebuild,v 1.8 2006/02/10 16:35:26 wolf31o2 Exp $
4
5
6 inherit flag-o-matic eutils games
7
8 DESCRIPTION="3d tron lightcycles, just like the movie"
9 HOMEPAGE="http://armagetronad.sourceforge.net/"
10 SRC_URI="mirror://sourceforge/armagetronad/${P}.tar.bz2
11 !dedicated? (
12 http://armagetron.sourceforge.net/addons/moviesounds_fq.zip
13 http://armagetron.sourceforge.net/addons/moviepack.zip
14 )"
15
16 LICENSE="GPL-2"
17 SLOT="0"
18 KEYWORDS="amd64 ~ppc x86"
19 IUSE="dedicated"
20
21 RDEPEND="
22 !dedicated? (
23 sys-libs/zlib
24 virtual/opengl
25 virtual/glu
26 media-libs/libsdl
27 media-libs/sdl-image
28 media-libs/jpeg
29 media-libs/libpng )"
30 DEPEND="${RDEPEND}
31 !dedicated? ( app-arch/unzip )"
32
33 src_compile() {
34 filter-flags -fno-exceptions
35 if use dedicated; then
36 egamesconf --disable-glout || die "egamesconf failed"
37 else
38 egamesconf || die "egamesconf failed"
39 fi
40 emake || die "emake failed"
41 make documentation || "make doc failed"
42 }
43
44 src_install() {
45 dohtml doc/*.html
46 docinto html/net
47 dohtml doc/net/*.html
48 newicon tron.ico ${PN}.ico
49 exeinto "${GAMES_LIBDIR}/${PN}"
50 if use dedicated; then
51 doexe src/tron/${PN}-dedicated || die "copying files"
52 else
53 doexe src/tron/${PN} || die "copying files"
54 fi
55 doexe src/network/armagetronad-* || die "copying files"
56 insinto "${GAMES_DATADIR}/${PN}"
57 doins -r log language || die "copying files"
58 if ! use dedicated; then
59 doins -r arenas models sound textures music || die "copying files"
60 fi
61 insinto "${GAMES_SYSCONFDIR}/${PN}"
62 doins -r config/* || die "copying files"
63 if use dedicated; then
64 dogamesbin "${FILESDIR}/${PN}-ded"
65 fi
66 cd "${S}"
67 insinto "${GAMES_DATADIR}/${PN}"
68 if ! use dedicated; then
69 dogamesbin "${FILESDIR}/${PN}"
70 insinto "${GAMES_DATADIR}/${PN}"
71 doins -r ../moviepack ../moviesounds || die "copying movies"
72 make_desktop_entry armagetronad "Armagetron Advanced" ${PN}.ico
73 fi
74 prepgamesdirs
75 }

  ViewVC Help
Powered by ViewVC 1.1.20