summaryrefslogtreecommitdiff
blob: 30ce74ef0d35c8fe5948e7da7ac14590c56b5a4c (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-2012 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="~x86 ~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
}