json-glib: update to 1.10.6
[oi-userland.git] / components / library / gc / Makefile
blobbb85e6ce9aa2c8ead4d8fe1b77ba71ecd2c9ec4e
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.
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 2013 Alexander Pyhalov. All rights reserved.
16 BUILD_BITS= 32_and_64
17 USE_DEFAULT_TEST_TRANSFORMS = yes
18 include ../../../make-rules/shared-macros.mk
20 COMPONENT_NAME= gc
21 COMPONENT_VERSION= 8.2.8
22 COMPONENT_SUMMARY= Boehm-Demers-Weiser garbage collector for C/C++
23 COMPONENT_PROJECT_URL= https://www.hboehm.info/gc/
24 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
25 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
26 COMPONENT_ARCHIVE_HASH= sha256:7649020621cb26325e1fb5c8742590d92fb48ce5c259b502faf7d9fb5dabb160
27 COMPONENT_ARCHIVE_URL= https://github.com/ivmai/bdwgc/releases/download/v$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
28 COMPONENT_FMRI= library/gc
29 COMPONENT_CLASSIFICATION= Development/C++
30 COMPONENT_LICENSE= GPLv2, MIT
32 COMPONENT_NAME_1= libatomic_ops
33 COMPONENT_VERSION_1= 7.8.2
34 COMPONENT_SRC_1= $(COMPONENT_NAME_1)-$(COMPONENT_VERSION_1)
35 COMPONENT_ARCHIVE_1= $(COMPONENT_SRC_1).tar.gz
36 COMPONENT_ARCHIVE_HASH_1= sha256:d305207fe207f2b3fb5cb4c019da12b44ce3fcbc593dfd5080d867b1a2419b51
37 COMPONENT_ARCHIVE_URL_1= https://github.com/ivmai/libatomic_ops/releases/download/v$(COMPONENT_VERSION_1)/$(COMPONENT_ARCHIVE_1)
39 include $(WS_MAKE_RULES)/common.mk
41 COMPONENT_PREP_ACTION= (cd $(@D);\
42 autoreconf -f -i; $(CP) -rf ../$(COMPONENT_SRC_1) $(COMPONENT_NAME_1))
44 COMPONENT_PRE_CONFIGURE_ACTION = ($(CLONEY) $(SOURCE_DIR) $(@D))
46 CONFIGURE_OPTIONS += --sysconfdir=/etc
47 CONFIGURE_OPTIONS += --enable-threads=posix
48 CONFIGURE_OPTIONS += --enable-large-config
49 CONFIGURE_OPTIONS += --with-libatomic-ops=no
51 COMPONENT_POST_INSTALL_ACTION= ( cd $(@D)/libatomic_ops && \
52 env $(COMPONENT_INSTALL_ENV) gmake $(COMPONENT_INSTALL_ARGS) install )
54 # Auto-generated dependencies
55 REQUIRED_PACKAGES += system/library