mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
sci-mathematics/normaliz: add 3.10.5
Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
DIST normaliz-3.10.1.tar.gz 6795274 BLAKE2B 49bef9b5826daa4e3f483a7f5e67c3e5770ad11eaae85524f3ad2e81853eda033cffd28516efb1b0664a8d2ea971f101cf7880e465b0cf3182035a7a12ea9705 SHA512 363ee2c9388d0c88181742399be1d9bd21b27394a306ce095382f60fb8544a39feea7d10ce2bce1edf0ba6407c9bd1becc237ef1a58c7509e84e1b9f2712ba0c
|
||||
DIST normaliz-3.10.5.tar.gz 6997871 BLAKE2B c7ce58ffa8350594c0e2c0183f9fc318d223cb4e64313d9901b4dc7e0a50eebbb4111ac3eabb8989f6029c548f5dbc125c346b1dbd639bb834833b8188f2ff8d SHA512 cc309c224df91cc7a3bb134e893915e4ecdb6eb81837a17dd6f706eb6c78aa00eee2370a29f60f7409e1e99f678eb8baf6c57cd28e1ac93fc6b6d95181575f3f
|
||||
DIST normaliz-3.9.3.tar.gz 4946498 BLAKE2B 3faff64fda86216ee11b0f55ba1341d70988472f65eedafe5b52bf6b05abd817add2dbab45144de0a43d02c501caf3c4a89d66c2b2d621b81188a2a5100d158f SHA512 5d6866cc35835c196d22d6b4b0d5f0e3e2e00f772553115fbbabd8415b20388cf367cf9a282904a72c03c2ef482b804f7009d67e3334add4fc37f3bab675da6c
|
||||
|
||||
67
sci-mathematics/normaliz/normaliz-3.10.5.ebuild
Normal file
67
sci-mathematics/normaliz/normaliz-3.10.5.ebuild
Normal file
@@ -0,0 +1,67 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="Tool for computations in affine monoids and more"
|
||||
HOMEPAGE="https://www.normaliz.uni-osnabrueck.de/"
|
||||
SRC_URI="https://github.com/Normaliz/Normaliz/releases/download/v${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0/3"
|
||||
KEYWORDS="~amd64 ~arm ~riscv ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="doc extras nauty openmp"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/gmp:=[cxx(+)]
|
||||
nauty? ( sci-mathematics/nauty )
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
dev-libs/boost
|
||||
"
|
||||
# Only a boost header is needed -> not RDEPEND
|
||||
|
||||
pkg_pretend() {
|
||||
[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# flint (and arb, which doesn't make an appearance in ./configure --help)
|
||||
# is somehow connected to e-antic, which we do not yet package. Likewise
|
||||
# we have no packages for cocoalib or hashlibrary.
|
||||
econf \
|
||||
$(use_enable openmp) \
|
||||
$(use_with nauty) \
|
||||
--without-cocoalib \
|
||||
--without-hashlibrary \
|
||||
--without-flint \
|
||||
--without-e-antic \
|
||||
--disable-static
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Clobber the default "AM_LDFLAGS = -Wl,-s" to avoid QA warnings
|
||||
# about pre-stripped binaries.
|
||||
emake AM_LDFLAGS=""
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
use doc && dodoc doc/Normaliz.pdf doc/NmzShortRef.pdf
|
||||
if use extras; then
|
||||
newdoc Singular/normaliz.pdf singular-normaliz.pdf
|
||||
insinto /usr/share/${PN}
|
||||
doins Singular/normaliz.lib
|
||||
doins Macaulay2/Normaliz.m2
|
||||
fi
|
||||
|
||||
find "${ED}" -type f -name "*.la" -delete || die
|
||||
}
|
||||
Reference in New Issue
Block a user