mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
giac: update to 1.9.0.41.
This commit is contained in:
parent
7aa8051eec
commit
bbf223eacb
1 changed files with 10 additions and 10 deletions
|
@ -1,10 +1,10 @@
|
||||||
# Template file for 'giac'
|
# Template file for 'giac'
|
||||||
pkgname=giac
|
pkgname=giac
|
||||||
version=1.9.0.37
|
version=1.9.0.41
|
||||||
revision=1
|
revision=1
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--disable-micropy --disable-quickjs"
|
configure_args="--disable-micropy --disable-quickjs"
|
||||||
hostmakedepends="automake gettext-devel libtool pkg-config"
|
hostmakedepends="automake gettext-devel libtool"
|
||||||
makedepends="fltk-devel gmp-devel gsl-devel libjpeg-turbo-devel
|
makedepends="fltk-devel gmp-devel gsl-devel libjpeg-turbo-devel
|
||||||
libpng-devel readline-devel mpfr-devel pari-devel
|
libpng-devel readline-devel mpfr-devel pari-devel
|
||||||
$(vopt_if openblas 'openblas-devel' 'lapack-devel')"
|
$(vopt_if openblas 'openblas-devel' 'lapack-devel')"
|
||||||
|
@ -15,7 +15,7 @@ license="GPL-3.0-or-later"
|
||||||
homepage="https://www-fourier.ujf-grenoble.fr/~parisse/giac.html"
|
homepage="https://www-fourier.ujf-grenoble.fr/~parisse/giac.html"
|
||||||
changelog="https://www-fourier.ujf-grenoble.fr/~parisse/install_en#new"
|
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"
|
distfiles="https://www-fourier.ujf-grenoble.fr/~parisse/debian/dists/stable/main/source/giac_${version%.*}-${version##*.}.tar.gz"
|
||||||
checksum=f6085d0ced4d9e8f8b93006873642d7c55f16ccfc1a430de07d98e652e470132
|
checksum=fa8a5680a1b8d0f1d1c99aeaffc917dcf3b0de214f39cbed20b99a5e5e1d8c18
|
||||||
|
|
||||||
# need more than 4*65536 stack, see try_parse() in gen.cc line 11812
|
# need more than 4*65536 stack, see try_parse() in gen.cc line 11812
|
||||||
LDFLAGS="-Wl,-z,stack-size=2097152"
|
LDFLAGS="-Wl,-z,stack-size=2097152"
|
||||||
|
@ -30,8 +30,15 @@ case "$XBPS_TARGET_MACHINE" in
|
||||||
*) ;;
|
*) ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
post_extract() {
|
||||||
|
# Missing... triggers doc rebuild which fails
|
||||||
|
touch doc/en/tutoriel.stamp
|
||||||
|
}
|
||||||
|
|
||||||
pre_configure() {
|
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##*.}']/'
|
||||||
autoreconf -fi
|
autoreconf -fi
|
||||||
if [ "$build_option_openblas" ]; then
|
if [ "$build_option_openblas" ]; then
|
||||||
export BLAS_LIBS=-lopenblas
|
export BLAS_LIBS=-lopenblas
|
||||||
|
@ -41,13 +48,6 @@ pre_configure() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
post_extract() {
|
|
||||||
# remove a binary that works only for x86_64 host
|
|
||||||
# the binary will be rebuilt using host compiler
|
|
||||||
rm src/mkjs
|
|
||||||
}
|
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
# remove duplicates
|
# remove duplicates
|
||||||
rm -r ${DESTDIR}/usr/share/doc
|
rm -r ${DESTDIR}/usr/share/doc
|
||||||
|
|
Loading…
Add table
Reference in a new issue