added my Recipes
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
diff -Naur octave-4.4.1.orig/configure.ac octave-4.4.1/configure.ac
|
||||
--- octave-4.4.1.orig/configure.ac 2019-02-23 10:46:24.287240571 +0000
|
||||
+++ octave-4.4.1/configure.ac 2019-02-23 10:46:42.255249333 +0000
|
||||
@@ -762,6 +762,12 @@
|
||||
AC_MSG_ERROR([BLAS and LAPACK libraries are required])
|
||||
fi
|
||||
|
||||
+if ac_fn_f77_try_run "$LINENO"; then :
|
||||
+ ax_blas_integer_size=8
|
||||
+else
|
||||
+ ax_blas_integer_size=4
|
||||
+fi
|
||||
+
|
||||
case $ax_blas_integer_size in
|
||||
4)
|
||||
HAVE_64_BIT_BLAS=no
|
||||
@@ -0,0 +1,56 @@
|
||||
SUMMARY = "High-level language, primarily intended for numerical computations"
|
||||
HOMEPAGE = "http://www.gnu.org/software/octave/"
|
||||
SECTION = "math"
|
||||
|
||||
LICENSE = "GPL-3.0-only"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=1ebbd3e34237af26da5dc08a4e440464"
|
||||
|
||||
# To build, add 'FORTRAN:forcevariable = ",fortran"' to your local.conf (or use
|
||||
# meta-mortsgna as distro :)
|
||||
|
||||
DEPENDS = " \
|
||||
gperf-native \
|
||||
libglu \
|
||||
lapack \
|
||||
fftw \
|
||||
curl \
|
||||
freetype \
|
||||
fontconfig \
|
||||
texinfo \
|
||||
pcre \
|
||||
readline \
|
||||
fltk \
|
||||
hdf5 \
|
||||
libsndfile1 \
|
||||
"
|
||||
|
||||
inherit autotools pkgconfig texinfo gettext gtk-icon-cache mime-xdg features_check
|
||||
|
||||
REQUIRED_DISTRO_FEATURES = "x11 opengl"
|
||||
|
||||
SRC_URI = " \
|
||||
${GNU_MIRROR}/octave/${BPN}-${PV}.tar.gz \
|
||||
file://fix-blas-library-integer-size.patch \
|
||||
"
|
||||
SRC_URI[sha256sum] = "b12cb652587d31c5c382b39ed73463c22a5259ecb2fa6b323a27da409222dacc"
|
||||
|
||||
# Note: Qt5Help is required for gui -> qttools(-native) must be build with
|
||||
# clang in PACKAGECONFIG
|
||||
PACKAGECONFIG[gui] = "--with-qt=yes,--with-qt=no,qttools-native qttools qtbase"
|
||||
|
||||
EXTRA_OECONF = " \
|
||||
--disable-java \
|
||||
--disable-docs \
|
||||
"
|
||||
|
||||
do_compile:prepend() {
|
||||
for folder in "liboctave/operators liboctave/numeric liboctave/array liboctave/util"; do
|
||||
mkdir -p ${B}/${folder}
|
||||
done
|
||||
}
|
||||
|
||||
FILES:${PN} += "${datadir}/metainfo"
|
||||
FILES:${PN}-dev += "${libdir}/${BPN}/${PV}/lib*${SOLIBSDEV}"
|
||||
|
||||
# fortran is not enabled by default
|
||||
EXCLUDE_FROM_WORLD = "1"
|
||||
Reference in New Issue
Block a user