kumquat-buildroot/package/fmt/fmt.mk

24 lines
584 B
Makefile
Raw Normal View History

################################################################################
#
# fmt
#
################################################################################
FMT_VERSION = 8.0.1
FMT_SITE = https://github.com/fmtlib/fmt/releases/download/$(FMT_VERSION)
FMT_SOURCE = fmt-$(FMT_VERSION).zip
FMT_LICENSE = MIT with exception
FMT_LICENSE_FILES = LICENSE.rst
FMT_CPE_ID_VENDOR = fmt
FMT_INSTALL_STAGING = YES
FMT_CONF_OPTS = \
-DFMT_INSTALL=ON \
-DFMT_TEST=OFF
define FMT_EXTRACT_CMDS
$(UNZIP) -d $(BUILD_DIR) $(FMT_DL_DIR)/$(FMT_SOURCE)
endef
$(eval $(cmake-package))