/[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.6 - (hide annotations) (download)
Sun Aug 12 19:52:41 2007 UTC (12 years, 6 months ago) by malc
Branch: MAIN
Changes since 1.5: +4 -3 lines
Add dep on app-emulation/emul-linux-x86-xlibs for amd64, add ~amd64 - bug #112656
(Portage version: 2.1.3.4)

1 malc 1.6 # Copyright 1999-2007 Gentoo Foundation
2 vapier 1.1 # Distributed under the terms of the GNU General Public License v2
3 malc 1.6 # $Header: /var/cvsroot/gentoo-x86/games-fps/fuhquake-bin/fuhquake-bin-0.31.ebuild,v 1.5 2006/09/19 19:22:39 wolf31o2 Exp $
4 vapier 1.1
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 malc 1.6 KEYWORDS="~amd64 x86"
16 wolf31o2 1.5 RESTRICT="strip"
17 tupone 1.4 IUSE="opengl svga"
18 vapier 1.1
19 tupone 1.4 RDEPEND="!svga? (
20 wolf31o2 1.5 x11-libs/libXext )
21 vapier 1.1 svga? ( media-libs/svgalib )
22 malc 1.6 amd64? ( app-emulation/emul-linux-x86-xlibs )
23 tupone 1.4 opengl? (
24 wolf31o2 1.5 virtual/opengl
25     x11-libs/libXext )"
26 tupone 1.4 DEPEND="${RDEPEND}
27     app-arch/unzip"
28 vapier 1.1
29     S=${WORKDIR}
30    
31     src_unpack() {
32     unpack fuhquake-linux-v${PV}.zip fuhquake-security-v${PV}.zip
33     rm -f gnu.txt fuhquake-security.dll
34     mkdir qw/locs && cd qw/locs
35     unpack fuhquake_locs.zip
36     }
37    
38     src_install() {
39 tupone 1.4 local dir=${GAMES_PREFIX_OPT}/${PN} BINS
40 vapier 1.2 dodir "${dir}"
41 vapier 1.1
42 vapier 1.2 exeinto "${dir}"
43 tupone 1.4 if use opengl; then
44     BINS="fuhquake-gl.glx fuhquake.x11"
45     elif ! use svga; then
46     # X will be built if neither opengl nor svga
47     BINS="fuhquake.x11"
48     fi
49     if use svga; then
50     BINS="${BINS} fuhquake.svga"
51     fi
52    
53     doexe ${BINS} fuhquake-security.so || die "doexe"
54 vapier 1.1 cp -r fuhquake qw "${D}/${dir}"/ || die "cp data"
55 vapier 1.3 dosym "${GAMES_DATADIR}"/quake1/id1 "${dir}"/id1
56 vapier 1.1
57 tupone 1.4 for x in ${BINS}; do
58 vapier 1.2 games_make_wrapper ${x} ./${x} "${dir}"
59 vapier 1.1 done
60    
61     prepgamesdirs
62     }

  ViewVC Help
Powered by ViewVC 1.1.20