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 2019 Richard Lowe
17 include ..
/..
/..
/make-rules
/shared-macros.mk
19 COMPONENT_NAME
= chezscheme
20 COMPONENT_VERSION
= 9.5.2
22 COMPONENT_SUMMARY
= Chez Scheme
23 COMPONENT_PROJECT_URL
= https
://github.com
/cisco
/ChezScheme
24 COMPONENT_SRC
= ChezScheme-
$(COMPONENT_VERSION
)
25 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.gz
26 COMPONENT_ARCHIVE_HASH
= sha256
:3a370fdf2ffd67d6a0ccbb993dfab1cbaf4a0a97983c869cfaab40528c33c48b
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
30 COMPONENT_LICENSE_FILE
= LICENSE
31 COMPONENT_LICENSE
= Apache-2.0
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
41 COMPONENT_ARCHIVE_HASH_1
= sha256
:1f00d017e5ebf8eb0ee2c6ae6b101917c0e10bf5bcbcebe2827882eb1025015e
42 COMPONENT_SRC_BOOTSTRAP
= $(COMPONENT_SRC_1
)
45 COMPONENT_NAME_2
= nanopass-framework-scheme
46 COMPONENT_VERSION_2
= 1.9.2
47 COMPONENT_SRC_2
= $(COMPONENT_NAME_2
)-$(COMPONENT_VERSION_2
)
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
50 COMPONENT_ARCHIVE_HASH_2
= sha256
:46d3ab75f425ef93a6ac31f0b0b2f893b9cb3154219832ad52ea044dd36b021c
51 COMPONENT_SRC_NANOPASS
= $(COMPONENT_SRC_2
)
54 COMPONENT_NAME_3
= stex
55 COMPONENT_VERSION_3
= 1.2.2
56 COMPONENT_SRC_3
= $(COMPONENT_NAME_3
)-$(COMPONENT_VERSION_3
)
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
59 COMPONENT_ARCHIVE_HASH_3
= sha256
:7edce38bcafe493bcddfce85cc8ce1dbaae6c847c9d07fd1e1b2f9af19fe71cd
60 COMPONENT_SRC_STEX
= $(COMPONENT_SRC_3
)
62 include $(WS_MAKE_RULES
)/common.mk
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
/)
71 CONFIGURE_OPTIONS
= --64 --threads
--installlib
=/usr
/lib
/amd64
73 COMPONENT_INSTALL_ARGS
+= TempRoot
=$(PROTO_DIR
)
74 COMPONENT_TEST_TARGETS
= test
76 # Auto-generated dependencies
77 REQUIRED_PACKAGES
+= library
/zlib
78 REQUIRED_PACKAGES
+= system
/library
79 REQUIRED_PACKAGES
+= system
/library
/math