blob: 4fdb4832b56ef73d0c3d5ba80fc4366d8ade061b (
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
|
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=9
DESCRIPTION="Software package for algebraic, geometric and combinatorial problems"
HOMEPAGE="https://4ti2.github.io"
SRC_URI="https://github.com/4ti2/4ti2/releases/download/Release_${PV//./_}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ~ppc ~riscv ~x86"
RDEPEND="
sci-mathematics/glpk:=[gmp(+)]
dev-libs/gmp:0=[cxx(+)]"
DEPEND="${RDEPEND}"
src_configure() {
# This is not pointless: configure.ac disables shared libraries and
# enables static libraries by default.
econf --enable-shared --disable-static
}
src_install() {
default
find "${ED}" -name '*.la' -delete || die
}
|