sci-libs/givaro: add 4.2.1

Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
This commit is contained in:
Michael Orlitzky
2025-04-28 20:44:43 -04:00
parent 4f23b24375
commit b1ea7bea80
2 changed files with 48 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST givaro-4.2.0.tar.gz 969595 BLAKE2B 07c9f08269ee60c06b1589e56ccf61870df6c7cab93fb8ebf27791d9231b153a2da9aed296105fd6dcd52aaa7d27ea03eacd6f2066d29de267455c9ca3747995 SHA512 1a3280563181710d364b77e1efe8c8f52ce3119a08b35f329cfd98136a742431b7e9d102289448d337797f815439682d0cfce1567a5a88d5851b244673a84486
DIST givaro-4.2.1.tar.gz 1036238 BLAKE2B 875ce705a319e4c19b7662cd9e147313924315d49d53d4199d24fe7356859f735b22d73d2694a3a4958a9132493ad9deae60197c80b3249615c716c6212e8cc2 SHA512 120eaf61e820398bd9eb9df325a18241be4563cf654cf244f0a2b8b54347e8ea45da1d61979b0fc527e2f7f238d79ea493216a25c02d9d7e504f7443d05162d4

View File

@@ -0,0 +1,47 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools
DESCRIPTION="C++ library for arithmetic and algebraic computations"
HOMEPAGE="https://casys.gricad-pages.univ-grenoble-alpes.fr/givaro/"
SRC_URI="https://github.com/linbox-team/givaro/releases/download/v${PV}/${P}.tar.gz"
LICENSE="CeCILL-B"
SLOT="0/9" # soname major
KEYWORDS="~amd64 ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
IUSE="doc test"
RESTRICT="!test? ( test )"
BDEPEND="
doc? (
app-text/doxygen[dot]
dev-texlive/texlive-bibtexextra
dev-texlive/texlive-fontsextra
dev-texlive/texlive-fontutils
dev-texlive/texlive-latex
dev-texlive/texlive-latexextra
)
"
DEPEND="dev-libs/gmp:0[cxx(+)]"
RDEPEND="${DEPEND}"
DOCS=( AUTHORS ChangeLog README.md )
src_prepare() {
default
eautoreconf
}
src_configure() {
econf \
--with-docdir="/usr/share/doc/${PF}/html" \
$(use_enable doc)
}
src_install() {
default
find "${ED}" -type f -name '*.la' -delete || die
}