mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
sci-mathematics/lcalc: add 2.1.0
Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST lcalc-2.0.5.tar.xz 830360 BLAKE2B 4a282de8548bc0b3d95fe079362ea98dd1397a1f0f7c4c61c6d2df8c5f95b9638aa628a25b138e6037520c69e56bfab635872115139caf3270d473e01276b980 SHA512 d3b7fa25dd3c2a8f88671076dfb5ab5e933be7feff24bbd160c92a476953f5553f9fb58f72c36b9c668929385084918fc3396e1a0bcc55de12ea8cb647c53929
|
||||
DIST lcalc-2.1.0.tar.xz 831000 BLAKE2B 2b48fbf488a95f96a8a33b778b5094da4a566e6c4d0b0dddbaad2fb1a33d70e34aed7dbb3b517dbb37622fd7978630ed50c0b342d1d5135588c565640a3dea05 SHA512 31f31f6877c47756bc5b6e91da3ecdbeec9131f7c99d046b7e186f743b0726dc1f257fa107e86e6ececabacbd16a61329aa058196f0e83ef7df517588ec7ff28
|
||||
|
||||
36
sci-mathematics/lcalc/lcalc-2.1.0.ebuild
Normal file
36
sci-mathematics/lcalc/lcalc-2.1.0.ebuild
Normal file
@@ -0,0 +1,36 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="Command-line utility and library for L-function computations"
|
||||
HOMEPAGE="https://gitlab.com/sagemath/lcalc"
|
||||
SRC_URI="https://gitlab.com/-/project/12934202/uploads/679cb360a06a713233876cd6fa0ba2fa/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
# The subslot is the libLfunction soname major version
|
||||
SLOT="0/2"
|
||||
KEYWORDS="~amd64 ~riscv"
|
||||
|
||||
# Omit USE=mpfr for now because it's broken upstream:
|
||||
#
|
||||
# https://gitlab.com/sagemath/lcalc/-/issues/7
|
||||
#
|
||||
IUSE="+double double-double quad-double pari"
|
||||
REQUIRED_USE="^^ ( double double-double quad-double )"
|
||||
|
||||
BDEPEND="dev-util/gengetopt"
|
||||
DEPEND="double-double? ( sci-libs/qd:= )
|
||||
quad-double? ( sci-libs/qd:= )
|
||||
pari? ( sci-mathematics/pari:= )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_configure() {
|
||||
econf $(use_with pari) \
|
||||
--enable-precision="$(usev double)$(usev double-double)$(usev quad-double)"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
find "${ED}" -type f -name '*.la' -delete || die
|
||||
}
|
||||
Reference in New Issue
Block a user