xref: /OK3568_Linux_fs/buildroot/package/fmt/fmt.mk (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1################################################################################
2#
3# fmt
4#
5################################################################################
6
7FMT_VERSION = 8.0.1
8FMT_SITE = https://github.com/fmtlib/fmt/releases/download/$(FMT_VERSION)
9FMT_SOURCE = fmt-$(FMT_VERSION).zip
10FMT_LICENSE = MIT with exception
11FMT_LICENSE_FILES = LICENSE.rst
12FMT_CPE_ID_VENDOR = fmt
13FMT_INSTALL_STAGING = YES
14
15FMT_CONF_OPTS = \
16	-DFMT_INSTALL=ON \
17	-DFMT_TEST=OFF
18
19define FMT_EXTRACT_CMDS
20	$(UNZIP) -d $(BUILD_DIR) $(FMT_DL_DIR)/$(FMT_SOURCE)
21endef
22
23$(eval $(cmake-package))
24