kumquat-buildroot/package/check/check.mk
Yann E. MORIN 87bc648720 package/check: don't conflict with release archive
In commit ee93213d18 (package/check: fix compile issue due to missing
source file), we switched from using the released tarball, to using the
autogenerated tarball from github.

However, that means that the filename of the archive did not change,
while its content did change. The hash was promptly updated, but that
means that the archive we cache on s.b.o (and possibly the one users
may also already have locally) will not match the new hash (and
conversely).

So we switch to using the sha1-hash of the commit corresponding to the
tag.

Reported-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Waldemar Brodkorb <wbx@openadk.org>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2023-08-25 09:04:07 +02:00

18 lines
627 B
Makefile

################################################################################
#
# check
#
################################################################################
# This is the same as tag 0.15.2, but we can't use it, as to avoid conflict
# with the released tarball that was incomplete
CHECK_VERSION = 11970a7e112dfe243a2e68773f014687df2900e8
CHECK_SITE = $(call github,libcheck,check,$(CHECK_VERSION))
CHECK_INSTALL_STAGING = YES
CHECK_DEPENDENCIES = host-pkgconf
CHECK_LICENSE = LGPL-2.1+
CHECK_LICENSE_FILES = COPYING.LESSER
CHECK_CONF_OPTS = -DBUILD_TESTING=OFF -DINSTALL_CHECKMK=OFF
$(eval $(cmake-package))