package maxima
This commit is contained in:
parent
dfe54531f9
commit
9742b42e97
|
@ -0,0 +1,45 @@
|
||||||
|
#!/bin/sh -e
|
||||||
|
|
||||||
|
prepare_environ()
|
||||||
|
{
|
||||||
|
tar xf download
|
||||||
|
mv maxima-5.45.1/* ./
|
||||||
|
rm download
|
||||||
|
rm -r maxima-5.45.1
|
||||||
|
}
|
||||||
|
|
||||||
|
make_universe()
|
||||||
|
{
|
||||||
|
ORIG_DIR=$(pwd)
|
||||||
|
|
||||||
|
sbcl --disable-debugger << '(EOF)'
|
||||||
|
(load "configure.lisp")
|
||||||
|
(configure :interactive nil)
|
||||||
|
(quit)
|
||||||
|
(EOF)
|
||||||
|
|
||||||
|
cd src/
|
||||||
|
|
||||||
|
sbcl --disable-debugger << '(EOF)'
|
||||||
|
(load "maxima-build.lisp")
|
||||||
|
(maxima-compile)
|
||||||
|
(quit)
|
||||||
|
(EOF)
|
||||||
|
|
||||||
|
sbcl --disable-debugger << '(EOF)'
|
||||||
|
(load "maxima-build.lisp")
|
||||||
|
(maxima-load)
|
||||||
|
(maxima-dump)
|
||||||
|
(EOF)
|
||||||
|
|
||||||
|
cd $ORIG_DIR
|
||||||
|
}
|
||||||
|
|
||||||
|
cd 5.45.1
|
||||||
|
make_universe
|
||||||
|
cd ..
|
||||||
|
mkdir -p "$1/usr/lib/maxima/" "$1/usr/bin/"
|
||||||
|
mv 5.45.1 "$1/usr/lib/maxima/"
|
||||||
|
install -Dm755 maxima-mid "$1/usr/bin/maxima"
|
||||||
|
|
||||||
|
chmod 0755 "$1/usr/lib/maxima/5.45.1/src/maxima"
|
|
@ -0,0 +1,2 @@
|
||||||
|
fe9016276970bef214a1a244348558644514d7fdfaa4fc8b9d0e87afcbb4e7dc
|
||||||
|
d96949b49c057872478d216b002efa9352fc19e8257961390a12037d2d9e482a
|
|
@ -0,0 +1 @@
|
||||||
|
sbcl
|
|
@ -0,0 +1,4 @@
|
||||||
|
#!/bin/sh -e
|
||||||
|
|
||||||
|
cd /usr/lib/maxima/5.45.1/src
|
||||||
|
./maxima $@
|
|
@ -0,0 +1,2 @@
|
||||||
|
https://downloads.sourceforge.net/project/maxima/Maxima-source/5.45.1-source/maxima-5.45.1.tar.gz 5.45.1
|
||||||
|
files/maxima-mid
|
|
@ -0,0 +1 @@
|
||||||
|
5.45.1 1 1
|
Loading…
Reference in New Issue