mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-26 23:42:57 +02:00
parent
9b33b54079
commit
98fd6d56e5
1 changed files with 8 additions and 11 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'octave'
|
# Template file for 'octave'
|
||||||
pkgname=octave
|
pkgname=octave
|
||||||
version=4.4.1
|
version=5.1.0
|
||||||
revision=7
|
revision=1
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args=" --with-blas=openblas --with-lapack=openblas"
|
configure_args=" --with-blas=openblas --with-lapack=openblas"
|
||||||
hostmakedepends="perl gcc-fortran pkg-config gnuplot"
|
hostmakedepends="perl gcc-fortran pkg-config gnuplot"
|
||||||
|
@ -13,7 +13,7 @@ maintainer="Diogo Leal <diogo@diogoleal.com>"
|
||||||
license="GPL-3.0-or-later"
|
license="GPL-3.0-or-later"
|
||||||
homepage="https://gnu.org/software/octave/"
|
homepage="https://gnu.org/software/octave/"
|
||||||
distfiles="${GNU_SITE}/octave/octave-${version}.tar.gz"
|
distfiles="${GNU_SITE}/octave/octave-${version}.tar.gz"
|
||||||
checksum=09fbd0f212f4ef21e53f1d9c41cf30ce3d7f9450fb44911601e21ed64c67ae97
|
checksum=e36b1124cac27c7caa51cc57de408c31676d5f0096349b4d50b57bfe1bcd7495
|
||||||
|
|
||||||
# Package build options
|
# Package build options
|
||||||
# TODO: some options are still missing, such as
|
# TODO: some options are still missing, such as
|
||||||
|
@ -30,8 +30,7 @@ build_options="
|
||||||
opengl
|
opengl
|
||||||
openmp
|
openmp
|
||||||
qhull
|
qhull
|
||||||
zlib
|
zlib"
|
||||||
"
|
|
||||||
|
|
||||||
vopt_conflict graphicsmagick imagemagick
|
vopt_conflict graphicsmagick imagemagick
|
||||||
|
|
||||||
|
@ -58,8 +57,7 @@ build_options_default="
|
||||||
opengl
|
opengl
|
||||||
openmp
|
openmp
|
||||||
qhull
|
qhull
|
||||||
zlib
|
zlib"
|
||||||
"
|
|
||||||
|
|
||||||
makedepends+="
|
makedepends+="
|
||||||
$(vopt_if arpack arpack-ng-devel)
|
$(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 opengl "glu-devel fltk-devel fontconfig-devel freetype-devel gl2ps-devel")
|
||||||
$(vopt_if openmp libgomp-devel)
|
$(vopt_if openmp libgomp-devel)
|
||||||
$(vopt_if qhull libqhull-devel)
|
$(vopt_if qhull libqhull-devel)
|
||||||
$(vopt_if zlib zlib-devel)
|
$(vopt_if zlib zlib-devel)"
|
||||||
"
|
|
||||||
|
|
||||||
pre_build() {
|
pre_build() {
|
||||||
chmod +x build-aux/mk-opts.pl
|
chmod +x build-aux/mk-opts.pl
|
||||||
|
@ -82,7 +79,7 @@ pre_build() {
|
||||||
|
|
||||||
post_build() {
|
post_build() {
|
||||||
# Remove references to hardening -specs.
|
# Remove references to hardening -specs.
|
||||||
sed -e "s|\(-specs=.*hardened-ld\)||g" -e "s|\(-specs=.*hardened-cc1\)||g" \
|
vsed -e "s|\(-specs=.*hardened-ld\)||g" -e "s|\(-specs=.*hardened-cc1\)||g" \
|
||||||
-i src/mkoctfile.cc libinterp/build-env.cc
|
-i src/mkoctfile.cc libinterp/build-env.cc
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue