All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Introduce maxima recipe
@ 2010-07-22 19:52 David Lanzendörfer
  2010-07-22 20:30 ` Frans Meulenbroeks
  2010-07-22 21:10 ` Koen Kooi
  0 siblings, 2 replies; 3+ messages in thread
From: David Lanzendörfer @ 2010-07-22 19:52 UTC (permalink / raw)
  To: openembedded-devel

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

diff --git a/recipes/maxima/maxima_5.21.1.bb b/recipes/maxima/maxima_5.21.1.bb
new file mode 100644
index 0000000..2cf42c8
--- /dev/null
+++ b/recipes/maxima/maxima_5.21.1.bb
@@ -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/*"
+
-- 
1.6.4.4




^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] Introduce maxima recipe
  2010-07-22 19:52 [PATCH] Introduce maxima recipe David Lanzendörfer
@ 2010-07-22 20:30 ` Frans Meulenbroeks
  2010-07-22 21:10 ` Koen Kooi
  1 sibling, 0 replies; 3+ messages in thread
From: Frans Meulenbroeks @ 2010-07-22 20:30 UTC (permalink / raw)
  To: openembedded-devel

2010/7/22 David Lanzendörfer <david.lanzendoerfer@o2s.ch>

> 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
>
> diff --git a/recipes/maxima/maxima_5.21.1.bb b/recipes/maxima/
> maxima_5.21.1.bb
> new file mode 100644
> index 0000000..2cf42c8
> --- /dev/null
> +++ b/recipes/maxima/maxima_5.21.1.bb
> @@ -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

> +
> +LICENSE="GPL-2"
>
This is written as GPLv2

+S = "${WORKDIR}/maxima-${PV}"
>
Isn't this the default? Can you try without it

> +
> +do_configure () {
> +        ./configure
> +}
>
+
> +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

> +
> +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/*"
> +
> --
> 1.6.4.4
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] Introduce maxima recipe
  2010-07-22 19:52 [PATCH] Introduce maxima recipe David Lanzendörfer
  2010-07-22 20:30 ` Frans Meulenbroeks
@ 2010-07-22 21:10 ` Koen Kooi
  1 sibling, 0 replies; 3+ messages in thread
From: Koen Kooi @ 2010-07-22 21:10 UTC (permalink / raw)
  To: openembedded-devel

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

On 22-07-10 21:52, David Lanzendörfer wrote:
> 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.

> +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-----




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-07-22 21:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-22 19:52 [PATCH] Introduce maxima recipe David Lanzendörfer
2010-07-22 20:30 ` Frans Meulenbroeks
2010-07-22 21:10 ` Koen Kooi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.