octave 5.1.0
This commit is contained in:
parent
b1b5476ae6
commit
cdb42746e0
1 changed files with 9 additions and 4 deletions
|
@ -1,10 +1,9 @@
|
|||
class Octave < Formula
|
||||
desc "High-level interpreted language for numerical computing"
|
||||
homepage "https://www.gnu.org/software/octave/index.html"
|
||||
url "https://ftp.gnu.org/gnu/octave/octave-4.4.1.tar.xz"
|
||||
mirror "https://ftpmirror.gnu.org/octave/octave-4.4.1.tar.xz"
|
||||
sha256 "7e4e9ac67ed809bd56768fb69807abae0d229f4e169db63a37c11c9f08215f90"
|
||||
revision 6
|
||||
url "https://ftp.gnu.org/gnu/octave/octave-5.1.0.tar.xz"
|
||||
mirror "https://ftpmirror.gnu.org/octave/octave-5.1.0.tar.xz"
|
||||
sha256 "87b4df6dfa28b1f8028f69659f7a1cabd50adfb81e1e02212ff22c863a29454e"
|
||||
|
||||
bottle do
|
||||
sha256 "c6e86d7f60ff18c57c0d37ba4510b31f68994537194039aee52737cfc9252df1" => :mojave
|
||||
|
@ -68,6 +67,12 @@ class Octave < Formula
|
|||
# Qt 5.12 compatibility
|
||||
# https://savannah.gnu.org/bugs/?55187
|
||||
ENV["QCOLLECTIONGENERATOR"] = "qhelpgenerator"
|
||||
# These "shouldn't" be necessary, but the build breaks without them.
|
||||
# https://savannah.gnu.org/bugs/?55883
|
||||
ENV["QT_CPPFLAGS"]="-I#{Formula["qt"].opt_include}"
|
||||
ENV.append "CPPFLAGS", "-I#{Formula["qt"].opt_include}"
|
||||
ENV["QT_LDFLAGS"]="-F#{Formula["qt"].opt_lib}"
|
||||
ENV.append "LDFLAGS", "-F#{Formula["qt"].opt_lib}"
|
||||
|
||||
system "./bootstrap" if build.head?
|
||||
system "./configure", "--prefix=#{prefix}",
|
||||
|
|
Loading…
Reference in a new issue