json-glib: update to 1.10.6
[oi-userland.git] / components / library / double-conversion / Makefile
blobe79ffe085eb3bd3c4faffc3dc28793aaab907df8
2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL)". You may
4 # only use this file in accordance with the terms of the CDDL.
6 # A full copy of the text of the CDDL should have accompanied this
7 # source. A copy of the CDDL is also available via the Internet at
8 # http://www.illumos.org/license/CDDL.
12 # Copyright (c) 2021 Andreas Wacknitz
15 BUILD_BITS= 64_and_32
16 BUILD_STYLE= cmake
17 include ../../../make-rules/shared-macros.mk
19 COMPONENT_NAME= double-conversion
20 COMPONENT_VERSION= 3.3.0
21 COMPONENT_REVISION= 1
22 COMPONENT_SUMMARY= binary-decimal and decimal-binary routines for IEEE doubles
23 COMPONENT_PROJECT_URL= https://github.com/google/double-conversion
24 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
25 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
26 COMPONENT_ARCHIVE_HASH= sha256:04ec44461850abbf33824da84978043b22554896b552c5fd11a9c5ae4b4d296e
27 COMPONENT_ARCHIVE_URL= https://github.com/google/$(COMPONENT_NAME)/archive/v$(COMPONENT_VERSION).tar.gz
28 COMPONENT_FMRI= library/$(COMPONENT_NAME)
29 COMPONENT_CLASSIFICATION= System/Libraries
30 COMPONENT_LICENSE= BSD 3-Clause
31 COMPONENT_LICENSE_FILE= LICENSE
33 include $(WS_MAKE_RULES)/common.mk
35 CMAKE_OPTIONS += -DBUILD_SHARED_LIBS:BOOL=ON
36 CMAKE_OPTIONS += -DSTATIC_BUILD:BOOL=OFF
37 CMAKE_OPTIONS += -DBUILD_TESTING:BOOL=ON
39 COMPONENT_TEST_TRANSFORMS += \
40 '-e "s/[0-9]*\.[0-9]* sec//"'
42 # The math library is needed on SPARC and should be kept.
43 REQUIRED_PACKAGES += system/library/math
45 # Auto-generated dependencies
46 REQUIRED_PACKAGES += $(GCC_RUNTIME_PKG)
47 REQUIRED_PACKAGES += $(GXX_RUNTIME_PKG)
48 REQUIRED_PACKAGES += system/library