Switch to use uploaded zip archive instead of githubs provided tarball.
Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
# Locally calculated
-sha256 7697e022f9cdc4f90b5e0a409643faa2cde0a6312f85e575c8388a1913374de5 fmt-7.0.2.tar.gz
+sha256 decfdf9ad274070fa85f26407b816f5a4d82205ae86bac1990be658d0795ea4d fmt-7.0.3.zip
sha256 825c9324e70f8c839c8ba910543dd4a7daee243b86ef960594c11381a19980b8 LICENSE.rst
#
################################################################################
-FMT_VERSION = 7.0.2
-FMT_SITE = $(call github,fmtlib,fmt,$(FMT_VERSION))
+FMT_VERSION = 7.0.3
+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_INSTALL_STAGING = YES
-DFMT_INSTALL=ON \
-DFMT_TEST=OFF
+define FMT_EXTRACT_CMDS
+ $(UNZIP) -d $(BUILD_DIR) $(FMT_DL_DIR)/$(FMT_SOURCE)
+endef
+
$(eval $(cmake-package))