pkg(octave-6.2.0): add octave 6.2.0

This commit is contained in:
Dan Vargas 2021-05-01 20:25:16 -05:00
parent a49acc7dbe
commit 2bc92897db
5 changed files with 36 additions and 0 deletions

22
packages/octave/6.2.0/build.sh vendored Executable file
View file

@ -0,0 +1,22 @@
#!/usr/bin/env bash
# Build octave from source
PREFIX=$(realpath $(dirname $0))
mkdir -p build
cd build
curl -L "https://ftpmirror.gnu.org/octave/octave-6.2.0.tar.gz" -o octave.tar.gz
tar xzf octave.tar.gz --strip-components=1
# === autoconf based ===
# Disable support for GUI, HDF5 and Java
./configure --prefix "$PREFIX" --without-opengl --without-qt --without-x --without-hdf5 --disable-java
make -j$(nproc)
make install -j$(nproc)
cd ../
rm -rf build