summaryrefslogtreecommitdiff
path: root/packages/mathomatic
diff options
context:
space:
mode:
Diffstat (limited to 'packages/mathomatic')
-rw-r--r--packages/mathomatic/.mtn2git_empty0
-rw-r--r--packages/mathomatic/mathomatic.inc20
-rw-r--r--packages/mathomatic/mathomatic_12.4.2.bb3
-rw-r--r--packages/mathomatic/mathomatic_unstable.bb4
4 files changed, 27 insertions, 0 deletions
diff --git a/packages/mathomatic/.mtn2git_empty b/packages/mathomatic/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/mathomatic/.mtn2git_empty
diff --git a/packages/mathomatic/mathomatic.inc b/packages/mathomatic/mathomatic.inc
index e69de29bb2..a39af7fe2c 100644
--- a/packages/mathomatic/mathomatic.inc
+++ b/packages/mathomatic/mathomatic.inc
@@ -0,0 +1,20 @@
+DESCRIPTION = "A small, portable, general purpose CAS (Computer Algebra System)."
+HOMEPAGE = "http://mathomatic.orgserve.de/math/"
+SECTION = "console/utils"
+PRIORITY = "optional"
+LICENSE = "GPL"
+MAINTAINER = "S.G.Pickering@bath.ac.uk"
+DEPENDS = "readline"
+
+inherit autotools
+
+EXTRA_OEMAKE = "READLINE=1"
+
+do_install () {
+ oe_runmake prefix="${D}${prefix}" \
+ bindir="${D}${bindir}" \
+ libdir="${D}${libdir}" \
+ includedir="${D}${includedir}" \
+ docdir="${D}${docdir}/${PN}" \
+ install
+}
diff --git a/packages/mathomatic/mathomatic_12.4.2.bb b/packages/mathomatic/mathomatic_12.4.2.bb
index e69de29bb2..c5c700c498 100644
--- a/packages/mathomatic/mathomatic_12.4.2.bb
+++ b/packages/mathomatic/mathomatic_12.4.2.bb
@@ -0,0 +1,3 @@
+include mathomatic.inc
+
+SRC_URI = "http://www.panix.com/~gesslein/mathomatic-${PV}.tgz"
diff --git a/packages/mathomatic/mathomatic_unstable.bb b/packages/mathomatic/mathomatic_unstable.bb
index e69de29bb2..544e0ef1c6 100644
--- a/packages/mathomatic/mathomatic_unstable.bb
+++ b/packages/mathomatic/mathomatic_unstable.bb
@@ -0,0 +1,4 @@
+include mathomatic.inc
+
+SRC_URI = "http://www.panix.com/~gesslein/am.tgz"
+S = "${WORKDIR}/mathomatic-12.4.2"