blob: 791ff66fa0b954f8748069e79a22275284e26634 (
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
37
38
39
40
41
42
43
44
45
46
|
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-strategy/boson/boson-0.13-r1.ebuild,v 1.6 2009/04/30 19:36:20 ranger Exp $
inherit eutils flag-o-matic kde-functions multilib cmake-utils
MY_P=${PN}-all-${PV}
DESCRIPTION="real-time strategy game, with the feeling of Command&Conquer(tm)"
HOMEPAGE="http://boson.sourceforge.net/"
SRC_URI="mirror://sourceforge/boson/${MY_P}.tar.bz2
mirror://gentoo/${P}-patches.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc x86"
IUSE=""
RDEPEND="virtual/opengl
virtual/glu
media-libs/openal"
DEPEND="${RDEPEND}
>=dev-util/cmake-2.4.6-r1"
need-kde 3
S=${WORKDIR}/${MY_P}
DOCS="code/AUTHORS code/ChangeLog code/README"
src_unpack() {
unpack ${A}
cd "${S}"
EPATCH_SOURCE="${WORKDIR}/${P}-patches"
EPATCH_SUFFIX="patch"
epatch
#Let's be multilib-strict. We likez ze discipline :-)
sed -r -i \
-e "s/(KDE3_LIB_INSTALL_DIR )\/lib/\1\/$(get_libdir)/" \
{data,code,music}/CMakeLists.txt
}
src_compile() {
append-flags -fno-strict-aliasing
cmake-utils_src_compile
}
|