aboutsummaryrefslogtreecommitdiff
blob: d36758e482927d50ecc5749a625459592ea007bd (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-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=5

WX_GTK_VER="2.8"

inherit wxwidgets

DESCRIPTION="Gambit: Software Tools for Game Theory"
HOMEPAGE="http://www.gambit-project.org/doc/index.html"
SRC_URI="mirror://sourceforge/project/${PN}/${PN}-stable/${PV}/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="X"

DEPEND="
	X? (
		x11-libs/wxGTK:2.8[X]
		x11-libs/gtk+:2 )"
RDEPEND="${DEPEND}"

src_configure() {
	local myconf
	if use amd64; then
		myconf='--disable-enumpoly'
	fi
	econf "${myconf}" \
		$(use_enable X gui)
}