blob: 055607134e4b8646f1d01cf22d391ea863b9f4d3 [file] [log] [blame]
Brad Bishop19323692019-04-05 15:28:33 -04001DESCRIPTION = "High-level language, primarily intended for numerical computations"
2HOMEPAGE = "http://www.gnu.org/software/octave/"
3SECTION = "math"
4
5LICENSE = "GPLv3"
6LIC_FILES_CHKSUM = "file://COPYING;md5=1ebbd3e34237af26da5dc08a4e440464"
7
8DEPENDS = "gperf-native texinfo lapack pcre readline"
9
Andrew Geissler82c905d2020-04-13 13:39:40 -050010inherit autotools pkgconfig texinfo gettext mime-xdg
Brad Bishop19323692019-04-05 15:28:33 -040011
12EXTRA_OECONF = "--disable-java --disable-docs"
13
Andrew Geissler82c905d2020-04-13 13:39:40 -050014SRC_URI = "${GNU_MIRROR}/octave/${BPN}-${PV}.tar.gz \
Brad Bishop19323692019-04-05 15:28:33 -040015 file://fix-blas-library-integer-size.patch \
16"
17
18SRC_URI[md5sum] = "b43bd5f4309a0c048c91af10cf8e8674"
19SRC_URI[sha256sum] = "09fbd0f212f4ef21e53f1d9c41cf30ce3d7f9450fb44911601e21ed64c67ae97"
20
Patrick Williams213cb262021-08-07 19:21:33 -050021do_compile:prepend() {
Brad Bishop19323692019-04-05 15:28:33 -040022 for folder in "liboctave/operators liboctave/numeric liboctave/array liboctave/util"; do
23 mkdir -p ${B}/${folder}
24 done
25}
26
27PACKAGES =+ " octave-common liboctave liboctave-dev liboctave-dbg"
28
Patrick Williams213cb262021-08-07 19:21:33 -050029FILES:${PN} = "${bindir}/* ${sbindir}/* ${libexecdir}/* ${datadir}/${PN} \
Brad Bishop19323692019-04-05 15:28:33 -040030 ${libdir}/${PN}/${PV}/oct ${libdir}/${PN}/${PV}/site \
31 ${libdir}/${PN}/site ${datadir}/applications ${datadir}/metainfo"
Patrick Williams213cb262021-08-07 19:21:33 -050032FILES:${PN}-common = "${datadir}/icons"
Brad Bishop19323692019-04-05 15:28:33 -040033
Patrick Williams213cb262021-08-07 19:21:33 -050034FILES:liboctave = "${libdir}/${PN}/${PV}/lib*${SOLIBS}"
35FILES:liboctave-dev = "${libdir}/${PN}/${PV}/lib*${SOLIBSDEV}"
36FILES:liboctave-dbg = "${libdir}/${PN}/${PV}/.debug"
Brad Bishop19323692019-04-05 15:28:33 -040037
Patrick Williams213cb262021-08-07 19:21:33 -050038FILES:${PN}-dbg = "${bindir}/.debug ${libdir}/${PN}/${PV}/oct/${TARGET_SYS}/.debug"
Brad Bishop19323692019-04-05 15:28:33 -040039
40EXCLUDE_FROM_WORLD = "1"