summaryrefslogtreecommitdiff
blob: 6d4d7c38c4ec62fbdecb20490e9c5059d31d1c0f (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
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

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

inherit games games-mods

MY_PV=${PV/.}
HOMEPAGE="http://www.truecombatelite.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="freedist"
KEYWORDS="amd64 x86"
IUSE="dedicated opengl"

RDEPEND="~virtual/libstdc++-3.3"

QA_PREBUILT="${INS_DIR:1}/${MOD_DIR}/*.so"

src_unpack() {
	unpack tcetest049.zip
	cd ${MOD_DIR} || die
	unpack tce${MY_PV}_all_os_fixed.zip
}

src_prepare() {
	rm -rf ${MOD_DIR}/Mac*
}