parent
9b33b54079
commit
98fd6d56e5
1 changed files with 8 additions and 11 deletions
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue