package/fmt: bump to version 7.0.3
authorJörg Krause <joerg.krause@embedded.rocks>
Wed, 16 Sep 2020 20:00:13 +0000 (22:00 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Thu, 17 Sep 2020 19:40:39 +0000 (21:40 +0200)
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>
package/fmt/fmt.hash
package/fmt/fmt.mk

index 8559d6605fdce99b193e5c201e51d51f3602e44f..1f45c212f3f868611eddf6bdc77e460f74a5af3b 100644 (file)
@@ -1,3 +1,3 @@
 # Locally calculated
-sha256  7697e022f9cdc4f90b5e0a409643faa2cde0a6312f85e575c8388a1913374de5  fmt-7.0.2.tar.gz
+sha256  decfdf9ad274070fa85f26407b816f5a4d82205ae86bac1990be658d0795ea4d  fmt-7.0.3.zip
 sha256  825c9324e70f8c839c8ba910543dd4a7daee243b86ef960594c11381a19980b8  LICENSE.rst
index 10e2f0f0b4ae7104abbd7c28abcb06a5ccb2443e..0539dcc0248c2b1c1e9b6102bb1f0e45e93ac213 100644 (file)
@@ -4,8 +4,9 @@
 #
 ################################################################################
 
-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
@@ -14,4 +15,8 @@ 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))