giac: update to 2.0.0.10.

This commit is contained in:
Gonzalo Tornaría 2025-06-08 20:00:06 -03:00 committed by classabbyamp
parent d8e28bcd7d
commit 6d7e653a76

View file

@ -1,6 +1,6 @@
# Template file for 'giac'
pkgname=giac
version=2.0.0.1
version=2.0.0.10
revision=1
build_style=gnu-configure
configure_args="--disable-micropy --disable-quickjs"
@ -15,7 +15,7 @@ license="GPL-3.0-or-later"
homepage="https://www-fourier.ujf-grenoble.fr/~parisse/giac.html"
changelog="https://www-fourier.ujf-grenoble.fr/~parisse/install_en#new"
distfiles="https://www-fourier.ujf-grenoble.fr/~parisse/debian/dists/stable/main/source/giac_${version%.*}-${version##*.}.tar.gz"
checksum=2705ddd82b59a8ef2bc4f9f35d26bdae9bc590013b869b0f40c07c778165877c
checksum=614f26660063913bef0301afccb17b5d93673106a002ea70a0b5bc59a504ebd3
# need more than 4*65536 stack, see try_parse() in gen.cc line 11812
LDFLAGS="-Wl,-z,stack-size=2097152"
@ -47,6 +47,8 @@ pre_configure() {
# use full version in banner -- upstream hides last component
vsed -i configure.ac \
-e '/m4_define(\[giac_micro_version]/ s/\[0]/[0-'${version##*.}']/'
# add missing source file
vsed -e 's/^libgiac_la_SOURCES = /&sha256.cc /' -i src/Makefile.am
autoreconf -fi
if [ "$build_option_openblas" ]; then
export BLAS_LIBS=-lopenblas