/[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.3 - (show annotations) (download)
Sat Nov 5 22:47:28 2005 UTC (14 years, 3 months ago) by vapier
Branch: MAIN
Changes since 1.2: +2 -2 lines
quake-data -> quake1 #111622
(Portage version: 2.0.53_rc7)

1 # Copyright 1999-2005 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.2 2005/09/06 04:49:32 vapier 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 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}"/quake1/id1 "${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