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

EAPI=5

DESCRIPTION="Symbolic and algebraic computations system"
HOMEPAGE="http://www.open-axiom.org/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"

LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"

IUSE="X"

RDEPEND="X? ( x11-libs/libXpm )"
DEPEND="${RDEPEND}
	app-text/noweb
	>=dev-lisp/sbcl-1.0.22"

DOCS="MAINTAINERS TODO STYLES"

src_configure() {
	# There is an option to compile with other lisps. However:
	# - gcl is getting obsolete and unmaintained and is hard masked
	# - could not make it work with ecls
	econf \
		--with-lisp=sbcl \
		$(use_with X x)
}

src_compile() {
	# unfortunately could not track down the broken parallel build
	# -j5 ok but -j30 sbcl stalled
	emake -j1
}