/[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.1 - (show annotations) (download)
Tue Dec 28 05:25:34 2004 UTC (15 years, 2 months ago) by vapier
Branch: MAIN
initial ebuild #69855

1 # Copyright 1999-2004 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: $
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 IUSE="opengl svga X"
17
18 DEPEND="app-arch/unzip"
19 RDEPEND="virtual/x11
20 svga? ( media-libs/svgalib )
21 opengl? ( virtual/opengl )"
22
23 S=${WORKDIR}
24
25 src_unpack() {
26 unpack fuhquake-linux-v${PV}.zip fuhquake-security-v${PV}.zip
27 rm -f gnu.txt fuhquake-security.dll
28 mkdir qw/locs && cd qw/locs
29 unpack fuhquake_locs.zip
30 }
31
32 src_install() {
33 local dir=${GAMES_PREFIX_OPT}/${PN}
34 dodir ${dir}
35
36 exeinto ${dir}
37 doexe fuhquake-gl.glx fuhquake.svga fuhquake.x11 fuhquake-security.so || die "doexe"
38 cp -r fuhquake qw "${D}/${dir}"/ || die "cp data"
39 dosym ${GAMES_DATADIR}/quake-data ${dir}/id1
40
41 for x in fuhquake-gl.glx fuhquake.svga fuhquake.x11 ; do
42 games_make_wrapper ${x} ./${x} ${dir}
43 done
44
45 prepgamesdirs
46 }

  ViewVC Help
Powered by ViewVC 1.1.20