aboutsummaryrefslogtreecommitdiff
blob: ead60138a0471d1b5c3648ee0822dcbe7ca10d35 (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
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

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/gambit/${P}.tar.gz"
	#http://econweb.tamu.edu/gambit/doc/${PN}-manual-${PV}.pdf
	#http://econweb.tamu.edu/gambit/doc/${PN}-manual-${PV}.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)
}