blob: cfe22fe4d9ac1a7cb926fe849c15b176138a7300 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-fps/ezquake-bin/ezquake-bin-1517.ebuild,v 1.3 2006/09/19 19:19:52 wolf31o2 Exp $
inherit games
DESCRIPTION="Quakeworld client under active development, forked from fuhquake, including long-wanted mqwcl functionality and many more features."
HOMEPAGE="http://ezquake.sf.net/"
SRC_URI="http://wit.edu.pl/~rzadzinp/ezquake/releases/${PV}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
RESTRICT="strip"
IUSE="opengl svga cdinstall"
QA_EXECSTACK_x86="${GAMES_PREFIX_OPT:1}/ezquake-bin/ezquake-gl.glx
${GAMES_PREFIX_OPT:1}/ezquake-bin/ezquake.x11
${GAMES_PREFIX_OPT:1}/ezquake-bin/ezquake.svga"
QA_EXECSTACK_amd64="${GAMES_PREFIX_OPT:1}/ezquake-bin/ezquake-gl.glx
${GAMES_PREFIX_OPT:1}/ezquake-bin/ezquake.x11
${GAMES_PREFIX_OPT:1}/ezquake-bin/ezquake.svga"
RDEPEND=">=dev-libs/expat-2.0
!svga? (
|| (
x11-libs/libXext
virtual/x11 ) )
svga? (
media-libs/svgalib )
opengl? (
virtual/opengl
|| (
x11-libs/libXext
virtual/x11 ) )
cdinstall? (
games-fps/quake1-data )"
S=${WORKDIR}/${PN}
dir=${GAMES_PREFIX_OPT}/${PN}
src_install() {
exeinto ${dir}
insinto ${dir}
BINS="ezquake-gl.glx ezquake.x11 ezquake.svga"
doexe ${BINS} ezquake-security.so || die "doexe"
doins -r ezquake qw || die "cp dirs"
dodir "${GAMES_DATADIR}"/quake1/id1
dosym "${GAMES_DATADIR}"/quake1/id1 "${dir}"/id1
for x in ${BINS}; do
games_make_wrapper ${x} ./${x} "${dir}" "${dir}"
done
prepgamesdirs
}
pkg_postinst() {
games_pkg_postinst
einfo "NOTE that this client doesnt include .pak files. You need to copy them from"
einfo "your quake1 CD (see also: http://www.idsoftware.com/store/index.php?view=quake&page=2), "
einfo "(note that quake1 shareware packs are free) and put them in"
einfo " ${GAMES_PREFIX_OPT}/quake1/id1 (all names lowercase)"
einfo "You may also want to check:"
einfo "--> http://fuhquake.quakeworld.nu -- complete howto on commands and variables"
einfo "--> http://equake.quakeworld.nu -- free package containing various files"
}
|