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

EAPI=8

inherit gap-pkg

DESCRIPTION="Nilpotent Quotients of finitely-presented groups"
SRC_URI="https://github.com/gap-packages/${PN}/releases/download/v${PV}/${P}.tar.bz2"

LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~riscv"
IUSE="examples"

DEPEND="sci-mathematics/gap:=
	dev-libs/gmp:0="
RDEPEND="${DEPEND}
	dev-gap/polycyclic"

gap-pkg_enable_tests

src_install() {
	gap-pkg_src_install
	emake DESTDIR="${D}" install
	use examples && dodoc -r examples
}