sci-mathematics/eclib - 20261021 (gentoo)

Search

Install

Install this version:

emerge -a =sci-mathematics/eclib-20261021

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =sci-mathematics/eclib-20261021

Or alternatively:

emerge --autounmask-write -a =sci-mathematics/eclib-20261021

Package Information

Description:
Programs for elliptic curves defined over the rational numbers
Homepage:
https://github.com/JohnCremona/eclib
License:
GPL-2+ LGPL-2.1+

Ebuild Details

Version EAPI Keywords Slot
20261021 9 ~amd64 ~riscv ~x86 0/16
View Raw Ebuild
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=9

DESCRIPTION="Programs for elliptic curves defined over the rational numbers"
HOMEPAGE="https://github.com/JohnCremona/eclib"
SRC_URI="https://github.com/JohnCremona/${PN}/releases/download/v${PV}/${P}.tar.bz2"

# COPYING is GPL-2 but the file headers say "or ... any later version"
# LGPL-2.1+ is for bundled GetOpt.cc
LICENSE="GPL-2+ LGPL-2.1+"

SLOT="0/16"
KEYWORDS="~amd64 ~riscv ~x86"
IUSE="boost minimal test"
RESTRICT="!test? ( test )"

RDEPEND="sci-mathematics/pari:=
	dev-libs/ntl:=
	sci-mathematics/flint:=
	boost? ( dev-libs/boost:= )"
DEPEND="${RDEPEND}"

PATCHES=( "${FILESDIR}/${P}-testfix.patch" )

src_configure() {
	econf \
		$(usex minimal --disable-allprogs "" "" "") \
		$(use_with boost)
}

src_install() {
	default
	find "${ED}" -name '*.la' -delete || die
}

USE Flags

Manage flags for this package: euse -i <flag> -p sci-mathematics/eclib | euse -E <flag> -p sci-mathematics/eclib | euse -D <flag> -p sci-mathematics/eclib

Global/Standard Flags

Dependencies

DEPEND

sci-mathematics/pari:=
	dev-libs/ntl:=
	sci-mathematics/flint:=
	boost? ( dev-libs/boost:= )

RDEPEND

sci-mathematics/pari:=
	dev-libs/ntl:=
	sci-mathematics/flint:=
	boost? ( dev-libs/boost:= )

Manifest for 20261021

Type File Size Source URLs
DIST eclib-20261021.tar.bz2 1166811 bytes https://github.com/JohnCremona/eclib/releases/download/v20261021/eclib-20261021.tar.bz2