blob: 32c118810b4f07f183083a510e4cab76865bb0a9 (
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-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
ESVN_REPO_URI="https://freeorion.svn.sourceforge.net/svnroot/freeorion/trunk/"
inherit games cmake-utils subversion
DESCRIPTION="FreeOrion brings nation building to a galactic scale with its full-featured grand campaign and in-game racial histories, in addition to the classic 4X model of galactic conquest and tactical combat."
HOMEPAGE="http://www.freeorion.org/"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="-*"
IUSE=""
DEPEND="
>=dev-libs/boost-1.36
<media-gfx/graphviz-2.22[cgraph]
sys-libs/zlib
|| ( media-libs/gigi[ogre] media-libs/gigi[sdl] )
media-libs/freealut
media-libs/libogg
media-libs/openal
dev-lang/python
media-libs/libvorbis
sci-physics/bullet
sys-libs/glibc"
RDEPEND="${DEPEND}"
get_boost_ver() {
local link="$(readlink /usr/include/boost)"
echo "${link%%/*}"
}
src_compile() {
local mycmakeargs=(
"-DBOOST_INCLUDEDIR=/usr/include/$(get_boost_ver)"
"-DCMAKE_INSTALL_PREFIX=${GAMES_PREFIX}"
)
cmake-utils_src_configure
}
src_install() {
cmake-utils_src_install
prepgamesdirs
}
|