summaryrefslogtreecommitdiff
blob: 42e276d7b6a2ef9a9498d0944548affa75d4001c (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
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-fps/enemy-territory-truecombat/enemy-territory-truecombat-0.49b.ebuild,v 1.4 2009/10/01 21:08:26 nyhm Exp $

MY_PV=${PV/./}

MOD_DESC="a team-based realism modification"
MOD_NAME="True Combat"
MOD_ICON="tce_icon_pc.ico"
MOD_DIR="tcetest"
GAME="enemy-territory"

inherit games games-mods

HOMEPAGE="http://truecombat.com/"
SRC_URI="http://dragons-perch.net/tce/tcetest049.zip
	http://freeserver.name/files/installer/linux/tcetest049.zip
	http://mirror.rosvosektori.net/tcetest049.zip
	http://dragons-perch.net/tce/tce${MY_PV}_all_os_fixed.zip"

LICENSE="as-is"
KEYWORDS="amd64 x86"
IUSE="dedicated opengl"

RDEPEND="x86? ( =virtual/libstdc++-3.3 )
	amd64? ( app-emulation/emul-linux-x86-compat )"

src_unpack() {
	games-mods_src_unpack
	mv *.{so,dat,pk3,dll} "${MOD_DIR}" || die
}