summaryrefslogtreecommitdiff
blob: fcf362d97248a73198c97ed8785616c0893d568c (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
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DESCRIPTION="Mathematical Components for the Coq proof assistant"
HOMEPAGE="https://github.com/math-comp/math-comp/"
SRC_URI="https://github.com/math-comp/math-comp/archive/mathcomp-${PV}.tar.gz
		-> ${P}.tar.gz"
S="${WORKDIR}"/math-comp-mathcomp-${PV}/mathcomp

LICENSE="CeCILL-B"
SLOT="0/${PV}"
KEYWORDS="~amd64"

RDEPEND=">=sci-mathematics/coq-8.13.0:= <sci-mathematics/coq-8.16.0:="
DEPEND="${RDEPEND}"

# > make jobserver unavailable
src_compile() {
	emake -j1
}

src_install() {
	emake -j1 install DESTDIR="${D}"
}