-
Notifications
You must be signed in to change notification settings - Fork 2
/
maxima.yaml
39 lines (39 loc) · 1.58 KB
/
maxima.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: maxima
sources:
- type: archive
url: https://downloads.sourceforge.net/maxima/maxima-5.43.0.tar.gz
sha256: dcfda54511035276fd074ac736e97d41905171e43a5802bb820914c3c885ca77
# https://bugzilla.redhat.com/show_bug.cgi?id=837142
# https://sourceforge.net/tracker/?func=detail&aid=3539587&group_id=4933&atid=104933
# https://src.fedoraproject.org/rpms/maxima/raw/66de1aea9ace767c984ad32091ee25409e2a70be/f/maxima-5.37.1-clisp-noreadline.patch
- type: patch
path: maxima-5.37.1-clisp-noreadline.patch
# Build the fasl while building the executable to avoid double initialization
# https://src.fedoraproject.org/rpms/maxima/raw/66de1aea9ace767c984ad32091ee25409e2a70be/f/maxima-5.30.0-build-fasl.patch
- type: patch
path: maxima-5.30.0-build-fasl.patch
# handle multiple ldflags in ecl build
# https://src.fedoraproject.org/rpms/maxima/raw/66de1aea9ace767c984ad32091ee25409e2a70be/f/maxima-ecl_ldflags.patch
- type: patch
path: maxima-ecl_ldflags.patch
- type: shell
commands:
- cp -p /usr/share/automake-*/config.{sub,guess} .;
- autoreconf -vfi;
post-install:
- install -p -D -m 0644 "COPYING" -t "${FLATPAK_DEST}/share/licenses/maxima/";
cleanup:
- /bin/xmaxima
- /share/maxima/*/src/xmaxima_def.lisp
- /share/maxima/*/xmaxima
- /share/applications/xmaxima.desktop
- /share/info/xmaxima.info
modules:
- gnuplot.yaml
- rlwrap.yaml
# Lisp
# alternatives:
# - SBCL (2018, requires different bootstrap for each arch)
# - GCL (2014, requires many patches)
# - CLISP (2018, no stable release since 2010, continuous beta)
- ecl.yaml