/[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.9 - (show annotations) (download)
Sat Dec 10 07:25:32 2011 UTC (8 years, 1 month ago) by mr_bones_
Branch: MAIN
CVS Tags: HEAD
Changes since 1.8: +1 -1 lines
FILE REMOVED
games-fps/fuhquake-bin is gone

1 # Copyright 1999-2008 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.8 2008/02/15 00:47:43 wolf31o2 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="~amd64 x86"
16 RESTRICT="strip"
17 IUSE="opengl svga"
18
19 RDEPEND="!svga? (
20 x11-libs/libXext )
21 sys-libs/glibc
22 svga? ( media-libs/svgalib )
23 opengl? (
24 virtual/opengl
25 x86? ( x11-libs/libXext )
26 amd64? ( app-emulation/emul-linux-x86-xlibs ) )"
27 DEPEND="${RDEPEND}
28 app-arch/unzip"
29
30 S=${WORKDIR}
31
32 src_unpack() {
33 unpack fuhquake-linux-v${PV}.zip fuhquake-security-v${PV}.zip
34 rm -f gnu.txt fuhquake-security.dll
35 mkdir qw/locs && cd qw/locs
36 unpack fuhquake_locs.zip
37 }
38
39 src_install() {
40 local dir=${GAMES_PREFIX_OPT}/${PN} BINS
41 dodir "${dir}"
42
43 exeinto "${dir}"
44 if use opengl; then
45 BINS="fuhquake-gl.glx fuhquake.x11"
46 elif ! use svga; then
47 # X will be built if neither opengl nor svga
48 BINS="fuhquake.x11"
49 fi
50 if use svga; then
51 BINS="${BINS} fuhquake.svga"
52 fi
53
54 doexe ${BINS} fuhquake-security.so || die "doexe"
55 cp -r fuhquake qw "${D}/${dir}"/ || die "cp data"
56 dosym "${GAMES_DATADIR}"/quake1/id1 "${dir}"/id1
57
58 for x in ${BINS}; do
59 games_make_wrapper ${x} ./${x} "${dir}"
60 done
61
62 prepgamesdirs
63 }

  ViewVC Help
Powered by ViewVC 1.1.20