2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 # You may only use this file in accordance with the terms of version
7 # A full copy of the text of the CDDL should have accompanied this
8 # source. A copy of the CDDL is also available via the Internet at
9 # http://www.illumos.org/license/CDDL.
13 # Copyright 2024 Andreas Wacknitz
16 USE_DEFAULT_TEST_TRANSFORMS
= yes
17 include ..
/..
/..
/make-rules
/shared-macros.mk
19 COMPONENT_NAME
= maxima
20 COMPONENT_VERSION
= 5.47.0
21 COMPONENT_SUMMARY
= Maxima is a descendant of Macsyma
, the legendary computer algebra system
22 COMPONENT_PROJECT_URL
= https
://maxima.sourceforge.io
23 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
24 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.gz
25 COMPONENT_ARCHIVE_URL
= https
://sourceforge.net
/projects
/maxima
/files
/Maxima-source
/$(COMPONENT_VERSION
)-source
/$(COMPONENT_ARCHIVE
)/download
26 COMPONENT_ARCHIVE_HASH
= sha256
:9104021b24fd53e8c03a983509cb42e937a925e8c0c85c335d7709a14fd40f7a
27 COMPONENT_FMRI
= library
/math
/$(COMPONENT_NAME
)
28 COMPONENT_CLASSIFICATION
= Development
/Other Languages
29 COMPONENT_LICENSE
= GPLv2
30 COMPONENT_LICENSE_FILE
= COPYING
32 include $(WS_MAKE_RULES
)/common.mk
36 COMPONENT_BUILD_ENV
+= LC_ALL
=en_US.UTF-8
37 COMPONENT_BUILD_ENV
+= MAXIMA_VERSION
=$(COMPONENT_VERSION
)
38 COMPONENT_TEST_ENV
+= LC_ALL
=en_US.UTF-8
40 COMPONENT_PREP_ACTION
= ( cd
$(@D
) && aclocal
&& autoconf
)
42 COMPONENT_PRE_CONFIGURE_ACTION
= ( $(CLONEY
) $(SOURCE_DIR
) $(@D
) )
44 CONFIGURE_OPTIONS
+= --enable-sbcl-exec
45 CONFIGURE_OPTIONS
+= --enable-quiet-build
48 COMPONENT_POST_INSTALL_ACTION
+= \
49 $(RM
) $(PROTOUSRSHAREDIR
)/info/dir ;
51 # Note that the detailed test results are
52 # 4 tests failed out of 18,244 total tests.
54 # Auto-generated dependencies
55 REQUIRED_PACKAGES
+= compress
/zstd
56 REQUIRED_PACKAGES
+= runtime
/sbcl
57 REQUIRED_PACKAGES
+= shell/ksh93
58 REQUIRED_PACKAGES
+= system
/library
59 REQUIRED_PACKAGES
+= system
/library
/math