diff options
Diffstat (limited to 'meta-oe/recipes-devtools/octave/octave_7.2.0.bb')
| -rw-r--r-- | meta-oe/recipes-devtools/octave/octave_7.2.0.bb | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/meta-oe/recipes-devtools/octave/octave_7.2.0.bb b/meta-oe/recipes-devtools/octave/octave_7.2.0.bb new file mode 100644 index 0000000000..eb96a624f6 --- /dev/null +++ b/meta-oe/recipes-devtools/octave/octave_7.2.0.bb | |||
| @@ -0,0 +1,56 @@ | |||
| 1 | SUMMARY = "High-level language, primarily intended for numerical computations" | ||
| 2 | HOMEPAGE = "http://www.gnu.org/software/octave/" | ||
| 3 | SECTION = "math" | ||
| 4 | |||
| 5 | LICENSE = "GPL-3.0-only" | ||
| 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=1ebbd3e34237af26da5dc08a4e440464" | ||
| 7 | |||
| 8 | # To build, add 'FORTRAN:forcevariable = ",fortran"' to your local.conf (or use | ||
| 9 | # meta-mortsgna as distro :) | ||
| 10 | |||
| 11 | DEPENDS = " \ | ||
| 12 | gperf-native \ | ||
| 13 | libglu \ | ||
| 14 | lapack \ | ||
| 15 | fftw \ | ||
| 16 | curl \ | ||
| 17 | freetype \ | ||
| 18 | fontconfig \ | ||
| 19 | texinfo \ | ||
| 20 | pcre \ | ||
| 21 | readline \ | ||
| 22 | fltk \ | ||
| 23 | hdf5 \ | ||
| 24 | libsndfile1 \ | ||
| 25 | " | ||
| 26 | |||
| 27 | inherit autotools pkgconfig texinfo gettext gtk-icon-cache mime-xdg features_check | ||
| 28 | |||
| 29 | REQUIRED_DISTRO_FEATURES = "x11 opengl" | ||
| 30 | |||
| 31 | SRC_URI = " \ | ||
| 32 | ${GNU_MIRROR}/octave/${BPN}-${PV}.tar.gz \ | ||
| 33 | file://fix-blas-library-integer-size.patch \ | ||
| 34 | " | ||
| 35 | SRC_URI[sha256sum] = "b12cb652587d31c5c382b39ed73463c22a5259ecb2fa6b323a27da409222dacc" | ||
| 36 | |||
| 37 | # Note: Qt5Help is required for gui -> qttools(-native) must be build with | ||
| 38 | # clang in PACKAGECONFIG | ||
| 39 | PACKAGECONFIG[gui] = "--with-qt=yes,--with-qt=no,qttools-native qttools qtbase" | ||
| 40 | |||
| 41 | EXTRA_OECONF = " \ | ||
| 42 | --disable-java \ | ||
| 43 | --disable-docs \ | ||
| 44 | " | ||
| 45 | |||
| 46 | do_compile:prepend() { | ||
| 47 | for folder in "liboctave/operators liboctave/numeric liboctave/array liboctave/util"; do | ||
| 48 | mkdir -p ${B}/${folder} | ||
| 49 | done | ||
| 50 | } | ||
| 51 | |||
| 52 | FILES:${PN} += "${datadir}/metainfo" | ||
| 53 | FILES:${PN}-dev += "${libdir}/${BPN}/${PV}/lib*${SOLIBSDEV}" | ||
| 54 | |||
| 55 | # fortran is not enabled by default | ||
| 56 | EXCLUDE_FROM_WORLD = "1" | ||
