summaryrefslogtreecommitdiff
blob: 5eb34e6e757108137fbf77869ee6199c12ccdb8c (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
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-fps/ut2004-redorchestra/ut2004-redorchestra-3.3-r2.ebuild,v 1.5 2009/10/09 04:27:05 nyhm Exp $

EAPI=2

MOD_DESC="a World War II mod based on the Russian front"
MOD_NAME="Red Orchestra"
MOD_DIR="RedOrchestra"
MOD_ICON="red.orchestra.xpm"

inherit eutils games games-mods

HOMEPAGE="http://redorchestramod.gameservers.net/"
SRC_URI="mirror://liflg/red.orchestra_${PV}-english.run
	mirror://liflg/red.orchestra_summer.offensive.map.pack-addon.run"

LICENSE="freedist"
KEYWORDS="amd64 x86"
IUSE="dedicated opengl"

src_unpack() {
	unpack_makeself red.orchestra_${PV}-english.run
	unpack_makeself red.orchestra_summer.offensive.map.pack-addon.run
	unpack ./*.bz2
}

src_prepare() {
	mv -f red.orchestra.xpm ${MOD_DIR} || die
	rm -rf bin setup.data
	rm -f 3355* README* *.bz2 *.sh
	rm -f StaticMeshes/BenTropicalSM01.usx Textures/BenTropical01.utx
}