void-packages/srcpkgs/singular/template

28 lines
889 B
Bash

# Template file for 'singular'
pkgname=singular
version=4.3.2p16
revision=1
_majver=${version%p*}
build_style=gnu-configure
configure_args="--with-readline=ncurses
--enable-gfanlib
--enable-Singular
--enable-factory
--disable-doc
--disable-polymake
--without-python
--with-libparse
ac_cv_lib_cddgmp_dd_free_global_constants=yes"
hostmakedepends="perl tar"
makedepends="flintlib-devel cddlib-devel readline-devel"
short_desc="Computer algebra system for polynomial computations"
maintainer="dkwo <npiazza@disroot.org>, Gonzalo Tornaría <tornaria@cmat.edu.uy>"
license="GPL-2.0-or-later"
homepage="https://www.singular.uni-kl.de"
distfiles="https://www.singular.uni-kl.de/ftp/pub/Math/Singular/SOURCES/${_majver//./-}/singular-${version}.tar.gz"
checksum=675733ba13a6ec67c564e753139f7c0c4b0d3e29bdb995de5341b616f1472a16
if [ -z "$CROSS_BUILD" ]; then
makedepends+=" ntl-devel"
fi