void-packages/srcpkgs/singular/template

27 lines
849 B
Bash

# Template file for 'singular'
pkgname=singular
version=4.2.1
revision=1
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 doxygen"
makedepends="flintlib-devel cddlib-devel readline-devel graphviz"
short_desc="Computer algebra system for polynomial computations"
maintainer="dkwo <nicolopiazzalunga@gmail.com>"
license="GPL-2.0-or-later"
homepage="https://www.singular.uni-kl.de"
distfiles="https://service.mathematik.uni-kl.de/ftp/pub/Math/Singular/src/${version//./-}/singular-${version}.tar.gz"
checksum=28a56df84f85b116e0068ffecf92fbe08fc27bd4c5ba902997f1a367db0bfe8d
if [ -z "$CROSS_BUILD" ]; then
makedepends+=" ntl-devel"
fi