summaryrefslogtreecommitdiff
path: root/packages/octave/octave.inc
diff options
context:
space:
mode:
authorJunqian Gordon Xu <xjqian@gmail.com>2007-11-22 02:26:25 +0000
committerJunqian Gordon Xu <xjqian@gmail.com>2007-11-22 02:26:25 +0000
commitd86fddc630bb02a00954c2aa8d9b3813589cfb29 (patch)
tree33670073ad541d3df4a65bb7143122f73f6a76cd /packages/octave/octave.inc
parent4a281508a90b1bb52265aa9415c72de78c4ad964 (diff)
parentc29af7eb9dcd7cfa4e9769a94cb8153e5e432f4d (diff)
merge of '0c1bf31806b2e4fc83b4405655fc3b14a98915c5'
and '4ddcde2cef4794d1b3f1a9b16da170dd6f4a97a6'
Diffstat (limited to 'packages/octave/octave.inc')
-rw-r--r--packages/octave/octave.inc29
1 files changed, 29 insertions, 0 deletions
diff --git a/packages/octave/octave.inc b/packages/octave/octave.inc
new file mode 100644
index 0000000000..414f95bf83
--- /dev/null
+++ b/packages/octave/octave.inc
@@ -0,0 +1,29 @@
+DESCRIPTION = "GNU Octave is a high-level language, primarily intended for numerical computations. \
+It provides a convenient command line interface for solving linear and nonlinear problems numerically, \
+and for performing other numerical experiments using a language that is mostly compatible with Matlab. \
+It may also be used as a batch-oriented language."
+HOMEPAGE = "http://www.gnu.org/software/octave/"
+SECTION = "console/scientific"
+LICENSE = "GPL"
+DEPENDS = "readline ncurses fftw"
+RDEPENDS = "libfftw3"
+# fftw compiled with --disable-fortran
+
+inherit autotools
+
+EXTRA_OECONF = "--without-hdf5"
+
+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
+}
+