commit | author | age
|
89ec29
|
1 |
# |
F |
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. |
|
5 |
# |
|
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. |
|
9 |
# |
|
10 |
|
|
11 |
# |
|
12 |
# Copyright 2023 Friedrich Kink |
e72e93
|
13 |
# Copyright 2023 Niklas Poslovski |
89ec29
|
14 |
# |
F |
15 |
|
6b0e17
|
16 |
BUILD_STYLE= cmake |
925f9f
|
17 |
USE_DEFAULT_TEST_TRANSFORMS= yes |
89ec29
|
18 |
include ../../../make-rules/shared-macros.mk |
F |
19 |
|
|
20 |
COMPONENT_NAME= fmt |
b6995e
|
21 |
COMPONENT_VERSION= 10.2.1 |
89ec29
|
22 |
COMPONENT_SUMMARY= fmt is an open-source formatting library providing a fast and safe alternative to C stdio and C++ iostreams. |
F |
23 |
COMPONENT_PROJECT_URL= https://github.com/fmtlib/$(COMPONENT_NAME) |
|
24 |
COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
|
25 |
COMPONENT_ARCHIVE= $(COMPONENT_VERSION).tar.gz |
|
26 |
COMPONENT_ARCHIVE_URL= https://github.com/$(COMPONENT_NAME)lib/$(COMPONENT_NAME)/archive/refs/tags/$(COMPONENT_ARCHIVE) |
b6995e
|
27 |
COMPONENT_ARCHIVE_HASH= sha256:1250e4cc58bf06ee631567523f48848dc4596133e163f02615c97f78bab6c811 |
6b0e17
|
28 |
COMPONENT_FMRI= developer/fmt |
AW |
29 |
COMPONENT_CLASSIFICATION=Development/Other Languages |
89ec29
|
30 |
COMPONENT_LICENSE= MIT |
080f56
|
31 |
COMPONENT_LICENSE_FILE= LICENSE |
89ec29
|
32 |
|
6b0e17
|
33 |
PATH= $(PATH.gnu) |
89ec29
|
34 |
|
F |
35 |
include $(WS_MAKE_RULES)/common.mk |
|
36 |
|
e72e93
|
37 |
COMPONENT_TEST_ENV += TZ=UTC |
89ec29
|
38 |
|
27afc5
|
39 |
# SPARC needs math library. |
925f9f
|
40 |
ifeq ($(MACH), sparc) |
27afc5
|
41 |
REQUIRED_PACKAGES += system/library/math |
925f9f
|
42 |
endif |
27afc5
|
43 |
|
89ec29
|
44 |
CMAKE_OPTIONS += -DFMT_MASTER_PROJECT=ON |
6b0e17
|
45 |
CMAKE_OPTIONS += -DCMAKE_BUILD_TYPE=Release |
AW |
46 |
CMAKE_OPTIONS += -DBUILD_SHARED_LIBS=ON |
|
47 |
CMAKE_OPTIONS += -DBUILD_STATIC_LIBS=OFF |
|
48 |
|
89ec29
|
49 |
# Auto-generated dependencies |
6b0e17
|
50 |
REQUIRED_PACKAGES += $(GCC_RUNTIME_PKG) |
AW |
51 |
REQUIRED_PACKAGES += $(GXX_RUNTIME_PKG) |
|
52 |
REQUIRED_PACKAGES += system/library |