octave: update to 5.1.0

closes #10370
This commit is contained in:
purpurrot 2019-03-29 11:34:31 +01:00 committed by maxice8
parent 9b33b54079
commit 98fd6d56e5
No known key found for this signature in database
GPG key ID: 543B9D4F4299F06B

View file

@ -1,7 +1,7 @@
# Template file for 'octave'
pkgname=octave
version=4.4.1
revision=7
version=5.1.0
revision=1
build_style=gnu-configure
configure_args=" --with-blas=openblas --with-lapack=openblas"
hostmakedepends="perl gcc-fortran pkg-config gnuplot"
@ -13,7 +13,7 @@ maintainer="Diogo Leal <diogo@diogoleal.com>"
license="GPL-3.0-or-later"
homepage="https://gnu.org/software/octave/"
distfiles="${GNU_SITE}/octave/octave-${version}.tar.gz"
checksum=09fbd0f212f4ef21e53f1d9c41cf30ce3d7f9450fb44911601e21ed64c67ae97
checksum=e36b1124cac27c7caa51cc57de408c31676d5f0096349b4d50b57bfe1bcd7495
# Package build options
# TODO: some options are still missing, such as
@ -30,8 +30,7 @@ build_options="
opengl
openmp
qhull
zlib
"
zlib"
vopt_conflict graphicsmagick imagemagick
@ -58,8 +57,7 @@ build_options_default="
opengl
openmp
qhull
zlib
"
zlib"
makedepends+="
$(vopt_if arpack arpack-ng-devel)
@ -73,8 +71,7 @@ makedepends+="
$(vopt_if opengl "glu-devel fltk-devel fontconfig-devel freetype-devel gl2ps-devel")
$(vopt_if openmp libgomp-devel)
$(vopt_if qhull libqhull-devel)
$(vopt_if zlib zlib-devel)
"
$(vopt_if zlib zlib-devel)"
pre_build() {
chmod +x build-aux/mk-opts.pl
@ -82,8 +79,8 @@ pre_build() {
post_build() {
# Remove references to hardening -specs.
sed -e "s|\(-specs=.*hardened-ld\)||g" -e "s|\(-specs=.*hardened-cc1\)||g" \
-i src/mkoctfile.cc libinterp/build-env.cc
vsed -e "s|\(-specs=.*hardened-ld\)||g" -e "s|\(-specs=.*hardened-cc1\)||g" \
-i src/mkoctfile.cc libinterp/build-env.cc
}
post_install() {