Skip to contentSkip to conversation

Introduce maxima recipe

PATCH In review David Lanzendörfer 3 participants 3 messages Jul 22, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Introduce maxima recipe

Hello.
I was a bit surprised that maxima was missing in OE. Because debian, maemo, and even windows have already maxima available. So I decided to make an initial try for building it.
Could you please review it?

thx and best regards
leviathan

---
 recipes/maxima/maxima_5.21.1.bb |   26 ++++++++++++++++++++++++++
 1 files changed, 26 insertions(+), 0 deletions(-)
 create mode 100644 recipes/maxima/maxima_5.21.1.bb
recipes/maxima/maxima_5.21.1.bb new file +26 -0
new file mode 100644
index 0000000..2cf42c8
@@ -0,0 +1,26 @@
+DESCRIPTION="Free computer algebra environment based on Macsyma"
+HOMEPAGE="http://maxima.sourceforge.net/"
+SRC_URI="http://www.sfr-fresh.com/unix/misc/maxima-5.21.1.tar.gz"
+
+LICENSE="GPL-2"
+S = "${WORKDIR}/maxima-${PV}"
+
+do_configure () {
+        ./configure
+}
+
+do_install () {
+        oe_runmake "DESTDIR=${D}" install
+}
+
+SRC_URI[md5sum] = "e08ed533f3059cec52788ef35198bdcc"
+SRC_URI[sha256sum] = "1dae887e1787871437d699a6b1acc1c1f7428729487492a07c6a31e26bf53a1b"
+
+FILES_${PN} += "/usr/local/bin/*"
+FILES_${PN} += "/usr/local/share/*"
+FILES_${PN} += "/usr/local/lib/*"
+FILES_${PN} += "/usr/local/libexec/*"
+
+FILES_${PN}-doc += "/usr/local/info/*"
+FILES_${PN}-doc += "/usr/local/man/*"
+
Signature · 1 line
1.6.4.4
#1 lore raw

2010/7/22 David Lanzendörfer <[email protected]>

Quoted 21 lines

Hello.
I was a bit surprised that maxima was missing in OE. Because debian, maemo, and even windows have already maxima available. So I decided to make an initial try for building it.
Could you please review it?

thx and best regards
leviathan

---
 recipes/maxima/maxima_5.21.1.bb |   26 ++++++++++++++++++++++++++
 1 files changed, 26 insertions(+), 0 deletions(-)
 create mode 100644 recipes/maxima/maxima_5.21.1.bb
recipes/maxima/ renamed from recipes/maxima/maxima_5.21.1.bb +0 -0

maxima_5.21.1.bb
new file mode 100644
index 0000000..2cf42c8

recipes/maxima/maxima_5.21.1.bb line 3

Quoted 3 lines
recipes/maxima/maxima_5.21.1.bb new file +3 -0
@@ -0,0 +1,26 @@
+DESCRIPTION="Free computer algebra environment based on Macsyma"
+HOMEPAGE="http://maxima.sourceforge.net/"
+SRC_URI="http://www.sfr-fresh.com/unix/misc/maxima-5.21.1.tar.gz"

You can also use ${PV} in the URI

recipes/maxima/maxima_5.21.1.bb line 5

Quoted 3 lines
recipes/maxima/maxima_5.21.1.bb new file +2 -0
+
+LICENSE="GPL-2"

This is written as GPLv2

+S = "${WORKDIR}/maxima-${PV}"

Quoted 1 line

Isn't this the default? Can you try without it

recipes/maxima/maxima_5.21.1.bb line 10

Quoted 5 lines
recipes/maxima/maxima_5.21.1.bb new file +4 -0
+
+do_configure () {
+        ./configure
+}

+

recipes/maxima/maxima_5.21.1.bb line 14

Quoted 4 lines
recipes/maxima/maxima_5.21.1.bb new file +3 -0
+do_install () {
+        oe_runmake "DESTDIR=${D}" install
+}

I thought that what you give for configure and install is the default. Can you test without?

Frans

Quoted 22 lines
recipes/maxima/maxima_5.21.1.bb new file +3 -0
+
+SRC_URI[md5sum] = "e08ed533f3059cec52788ef35198bdcc"
+SRC_URI[sha256sum] =

"1dae887e1787871437d699a6b1acc1c1f7428729487492a07c6a31e26bf53a1b"

recipes/maxima/maxima_5.21.1.bb new file +9 -1
+
+FILES_${PN} += "/usr/local/bin/*"
+FILES_${PN} += "/usr/local/share/*"
+FILES_${PN} += "/usr/local/lib/*"
+FILES_${PN} += "/usr/local/libexec/*"
+
+FILES_${PN}-doc += "/usr/local/info/*"
+FILES_${PN}-doc += "/usr/local/man/*"
+
--

1.6.4.4

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

#2 lore raw
In reply to David Lanzendörfer

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 3 lines · David Lanzendörfer

Hello.
I was a bit surprised that maxima was missing in OE. Because debian, maemo, and even windows have already maxima available.

When I tried it a few years ago it didn't crosscompile, seems things have changed.

recipes/maxima/maxima_5.21.1.bb line 9

Quoted 2 lines
recipes/maxima/maxima_5.21.1.bb new file +2 -0
+do_configure () {
+        ./configure

please change that ./configure to oe_runconf, Frans nailed the other problematic areas.

regards,

Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFMSLO2MkyGM64RGpERAmCiAJ9uY+ztELSb3aJCVev5k6wd8E7uKQCffIZv mjamX5eZG7rW3/sBEr7zUzU=
=U7zO
-----END PGP SIGNATURE-----