aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/octave/octave.inc
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/octave/octave.inc')
-rw-r--r--recipes/octave/octave.inc31
1 files changed, 31 insertions, 0 deletions
diff --git a/recipes/octave/octave.inc b/recipes/octave/octave.inc
new file mode 100644
index 0000000000..440de5c1a0
--- /dev/null
+++ b/recipes/octave/octave.inc
@@ -0,0 +1,31 @@
+DESCRIPTION = "Matlab alternative for numerical computations"
+HOMEPAGE = "http://www.gnu.org/software/octave/"
+SECTION = "console/scientific"
+LICENSE = "GPL"
+DEPENDS = "readline ncurses fftw"
+RDEPENDS = "libfftw3"
+# fftw compiled with --disable-fortran
+
+ARM_INSTRUCTION_SET = "arm"
+
+inherit autotools
+
+EXTRA_OECONF = "--without-hdf5 --without-glpk -without-umfpack \
+ --without-colamd --without-ccolamd --without-cholmod \
+ --without-cxsparse"
+
+# additional missing dependency/functionality: Qhull gperf
+
+do_configure() {
+ gnu-configize
+ oe_runconf
+}
+
+PACKAGES =+ "octave-m"
+
+# octave-m provides matlab routines in .m file format
+FILES_${PN}-m = "${datadir}/${PN}/*"
+
+do_stage() {
+ autotools_stage_all
+}