blob: ff5cd6a5201c4f81a084a9d480f19bd08842cdb1 (
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
|
# Copyright 1999-2007 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.5 2007/03/12 14:38:40 genone 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 )
svga? ( media-libs/svgalib )
opengl? ( virtual/opengl x11-libs/libXext )
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
elog "NOTE that this client doesnt include .pak files. You need to copy them from"
elog "your quake1 CD (see also: http://www.idsoftware.com/store/index.php?view=quake&page=2), "
elog "(note that quake1 shareware packs are free) and put them in"
elog " ${GAMES_PREFIX_OPT}/quake1/id1 (all names lowercase)"
elog "You may also want to check:"
elog "--> http://fuhquake.quakeworld.nu -- complete howto on commands and variables"
elog "--> http://equake.quakeworld.nu -- free package containing various files"
}
|