Andreas Wacknitz
2024-04-04 8590298b09ebad29af56370cd23105cd0931b389
commit | author | age
96880a 1 #
RL 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
5 # 1.0 of the CDDL.
6 #
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.
10 #
11
12 #
13 # Copyright 2019 Richard Lowe
14 #
15
16 BUILD_BITS= 64
17 include ../../../make-rules/shared-macros.mk
18
19 COMPONENT_NAME=        chezscheme
20 COMPONENT_VERSION=    9.5.2
c58701 21 COMPONENT_REVISION=    2
96880a 22 COMPONENT_SUMMARY=    Chez Scheme
RL 23 COMPONENT_PROJECT_URL=    https://github.com/cisco/ChezScheme
24 COMPONENT_SRC=        ChezScheme-$(COMPONENT_VERSION)
25 COMPONENT_ARCHIVE=    $(COMPONENT_SRC).tar.gz
c58701 26 COMPONENT_ARCHIVE_HASH=    sha256:3a370fdf2ffd67d6a0ccbb993dfab1cbaf4a0a97983c869cfaab40528c33c48b
AW 27 COMPONENT_ARCHIVE_URL=    https://github.com/cisco/ChezScheme/archive/v$(COMPONENT_VERSION).tar.gz
28 COMPONENT_FMRI=        runtime/chezscheme
29 COMPONENT_CLASSIFICATION=Development/Other Languages
96880a 30 COMPONENT_LICENSE_FILE=    LICENSE
RL 31 COMPONENT_LICENSE=    Apache-2.0
32
33 # SunOS-ish bootstrap files not included in the release tarballs These must be
34 # generated according to the instructions provided by ChezScheme on a system
35 # which _is_ supported for bootstrap, and then provided by us
36 COMPONENT_NAME_1= chezscheme-bootstrap
37 COMPONENT_VERSION_1= $(COMPONENT_VERSION)
38 COMPONENT_SRC_1= $(COMPONENT_NAME_1)-$(COMPONENT_VERSION_1)
39 COMPONENT_ARCHIVE_1= $(COMPONENT_SRC_1).tar.gz
40 COMPONENT_ARCHIVE_URL_1= https://github.com/OpenIndiana/$(COMPONENT_NAME_1)/archive/$(COMPONENT_VERSION_1).tar.gz
c58701 41 COMPONENT_ARCHIVE_HASH_1= sha256:1f00d017e5ebf8eb0ee2c6ae6b101917c0e10bf5bcbcebe2827882eb1025015e
96880a 42 COMPONENT_SRC_BOOTSTRAP= $(COMPONENT_SRC_1)
RL 43
44 # Nanopass
45 COMPONENT_NAME_2= nanopass-framework-scheme
c58701 46 COMPONENT_VERSION_2= 1.9.2
96880a 47 COMPONENT_SRC_2= $(COMPONENT_NAME_2)-$(COMPONENT_VERSION_2)
RL 48 COMPONENT_ARCHIVE_2= $(COMPONENT_SRC_2).tar.gz
49 COMPONENT_ARCHIVE_URL_2= https://github.com/nanopass/$(COMPONENT_NAME_2)/archive/v$(COMPONENT_VERSION_2).tar.gz
c58701 50 COMPONENT_ARCHIVE_HASH_2= sha256:46d3ab75f425ef93a6ac31f0b0b2f893b9cb3154219832ad52ea044dd36b021c
96880a 51 COMPONENT_SRC_NANOPASS= $(COMPONENT_SRC_2)
RL 52
53 # stex
54 COMPONENT_NAME_3= stex
c58701 55 COMPONENT_VERSION_3= 1.2.2
96880a 56 COMPONENT_SRC_3= $(COMPONENT_NAME_3)-$(COMPONENT_VERSION_3)
RL 57 COMPONENT_ARCHIVE_3= $(COMPONENT_SRC_3).tar.gz
58 COMPONENT_ARCHIVE_URL_3= https://github.com/dybvig/stex/archive/v$(COMPONENT_VERSION_3).tar.gz
c58701 59 COMPONENT_ARCHIVE_HASH_3= sha256:7edce38bcafe493bcddfce85cc8ce1dbaae6c847c9d07fd1e1b2f9af19fe71cd
96880a 60 COMPONENT_SRC_STEX= $(COMPONENT_SRC_3)
RL 61
62 include $(WS_MAKE_RULES)/common.mk
63
64 PATH=$(PATH.gnu)
65
66 COMPONENT_PRE_CONFIGURE_ACTION= ($(CLONEY) $(SOURCE_DIR) $(@D)) && \
67     ($(CP) -R $(COMPONENT_SRC_NANOPASS)/* $(@D)/nanopass) && \
68     ($(CP) -R $(COMPONENT_SRC_STEX)/* $(@D)/stex) && \
69     ($(CP) -R $(COMPONENT_SRC_BOOTSTRAP)/* $(@D)/boot/)
70
71 CONFIGURE_OPTIONS= --64 --threads --installlib=/usr/lib/amd64
72
73 COMPONENT_INSTALL_ARGS +=    TempRoot=$(PROTO_DIR)
74 COMPONENT_TEST_TARGETS= test
75
76 # Auto-generated dependencies
c58701 77 REQUIRED_PACKAGES += library/zlib
96880a 78 REQUIRED_PACKAGES += system/library
RL 79 REQUIRED_PACKAGES += system/library/math