Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 1 | DESCRIPTION = "High-level language, primarily intended for numerical computations" |
| 2 | HOMEPAGE = "http://www.gnu.org/software/octave/" |
| 3 | SECTION = "math" |
| 4 | |
| 5 | LICENSE = "GPLv3" |
| 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=1ebbd3e34237af26da5dc08a4e440464" |
| 7 | |
| 8 | DEPENDS = "gperf-native texinfo lapack pcre readline" |
| 9 | |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 10 | inherit autotools pkgconfig texinfo gettext mime-xdg |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 11 | |
| 12 | EXTRA_OECONF = "--disable-java --disable-docs" |
| 13 | |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 14 | SRC_URI = "${GNU_MIRROR}/octave/${BPN}-${PV}.tar.gz \ |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 15 | file://fix-blas-library-integer-size.patch \ |
| 16 | " |
| 17 | |
| 18 | SRC_URI[md5sum] = "b43bd5f4309a0c048c91af10cf8e8674" |
| 19 | SRC_URI[sha256sum] = "09fbd0f212f4ef21e53f1d9c41cf30ce3d7f9450fb44911601e21ed64c67ae97" |
| 20 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 21 | do_compile:prepend() { |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 22 | for folder in "liboctave/operators liboctave/numeric liboctave/array liboctave/util"; do |
| 23 | mkdir -p ${B}/${folder} |
| 24 | done |
| 25 | } |
| 26 | |
| 27 | PACKAGES =+ " octave-common liboctave liboctave-dev liboctave-dbg" |
| 28 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 29 | FILES:${PN} = "${bindir}/* ${sbindir}/* ${libexecdir}/* ${datadir}/${PN} \ |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 30 | ${libdir}/${PN}/${PV}/oct ${libdir}/${PN}/${PV}/site \ |
| 31 | ${libdir}/${PN}/site ${datadir}/applications ${datadir}/metainfo" |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 32 | FILES:${PN}-common = "${datadir}/icons" |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 33 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 34 | FILES:liboctave = "${libdir}/${PN}/${PV}/lib*${SOLIBS}" |
| 35 | FILES:liboctave-dev = "${libdir}/${PN}/${PV}/lib*${SOLIBSDEV}" |
| 36 | FILES:liboctave-dbg = "${libdir}/${PN}/${PV}/.debug" |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 37 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 38 | FILES:${PN}-dbg = "${bindir}/.debug ${libdir}/${PN}/${PV}/oct/${TARGET_SYS}/.debug" |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 39 | |
| 40 | EXCLUDE_FROM_WORLD = "1" |