summaryrefslogtreecommitdiff
blob: 6b59a2374c24baf64d0d7f0ab383742b442ad891 (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-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit games

DESCRIPTION="Tactics Squad is a real-time tactical game set in a futuristic environment."
HOMEPAGE="http://sourceforge.net/projects/tacticsgame/"
SRC_URI="mirror://sourceforge/${PN}/Tactics_Squad_${PV}_Linux.tar.gz"
LICENSE="GPL-2"

SLOT="0"
KEYWORDS="~amd64"
IUSE=""

DEPEND="media-libs/libsdl
	virtual/opengl"
RDEPEND="${DEPEND}"

S="${WORKDIR}/TS"

src_unpack() {
	unpack ${A}
	cd "${S}"
	sed -i -e "s:-O3:${CXXFLAGS}:" Makefile || die "Sed Makefile failed"
}

src_install() {
	dogamesbin Tactics || die "Install Failed"
	newdoc "Change Log.txt" ChangeLog.txt || die "Doc install failed"
	newdoc "Release Notes.txt" ReleaseNotes.txt || die "Doc install failed"
	prepgamesdirs
}