/[gentoo-x86]/games-fps/fuhquake-bin/fuhquake-bin-0.31.ebuild
Gentoo

Contents of /games-fps/fuhquake-bin/fuhquake-bin-0.31.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Tue Sep 19 19:22:39 2006 UTC (13 years, 5 months ago) by wolf31o2
Branch: MAIN
Changes since 1.4: +5 -12 lines
Adding strip to RESTRICT for bug #137819.
(Portage version: 2.1.2_pre1)

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-fps/fuhquake-bin/fuhquake-bin-0.31.ebuild,v 1.4 2006/02/13 22:16:11 tupone Exp $
4
5 inherit games
6
7 DESCRIPTION="quakeworld client with a plethora of gameplay/console/graphical improvements"
8 HOMEPAGE="http://www.fuhquake.net/"
9 SRC_URI="http://www.fuhquake.net/files/releases/v${PV}/fuhquake-linux-v${PV}.zip
10 http://www.fuhquake.net/files/releases/v${PV}/fuhquake-security-v${PV}.zip
11 http://maps.quakeworld.nu/locs/download/fuhquake_locs.zip"
12
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="x86"
16 RESTRICT="strip"
17 IUSE="opengl svga"
18
19 RDEPEND="!svga? (
20 x11-libs/libXext )
21 svga? ( media-libs/svgalib )
22 opengl? (
23 virtual/opengl
24 x11-libs/libXext )"
25 DEPEND="${RDEPEND}
26 app-arch/unzip"
27
28 S=${WORKDIR}
29
30 src_unpack() {
31 unpack fuhquake-linux-v${PV}.zip fuhquake-security-v${PV}.zip
32 rm -f gnu.txt fuhquake-security.dll
33 mkdir qw/locs && cd qw/locs
34 unpack fuhquake_locs.zip
35 }
36
37 src_install() {
38 local dir=${GAMES_PREFIX_OPT}/${PN} BINS
39 dodir "${dir}"
40
41 exeinto "${dir}"
42 if use opengl; then
43 BINS="fuhquake-gl.glx fuhquake.x11"
44 elif ! use svga; then
45 # X will be built if neither opengl nor svga
46 BINS="fuhquake.x11"
47 fi
48 if use svga; then
49 BINS="${BINS} fuhquake.svga"
50 fi
51
52 doexe ${BINS} fuhquake-security.so || die "doexe"
53 cp -r fuhquake qw "${D}/${dir}"/ || die "cp data"
54 dosym "${GAMES_DATADIR}"/quake1/id1 "${dir}"/id1
55
56 for x in ${BINS}; do
57 games_make_wrapper ${x} ./${x} "${dir}"
58 done
59
60 prepgamesdirs
61 }

  ViewVC Help
Powered by ViewVC 1.1.20