aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/octave/octave.inc
blob: 57c2c35e5ee95a4427a0d97e96275e4d8e5bbc92 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
DESCRIPTION = "Matlab alternative for numerical computations"
HOMEPAGE = "http://www.gnu.org/software/octave/"
SECTION = "console/scientific"
LICENSE = "GPL"
DEPENDS = "gperf-native readline ncurses fftw"
RDEPENDS_${PN} = "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"

TARGET_CC_ARCH += "${LDFLAGS}"

# 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
}