kumquat-buildroot/package/libuv/libuv.mk
Bernd Kuhls 1738b5582b package/{libuv, uvw}: bump to versions 1.46.0, 3.2.0_libuv_v1.46
Changelog: https://github.com/libuv/libuv/blob/v1.x/ChangeLog

Switched libuv to tarball provided by upstream. removed autoreconf.

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2023-07-27 12:49:08 +02:00

31 lines
1.1 KiB
Makefile

################################################################################
#
# libuv
#
################################################################################
# When bumping libuv, check if a new version of uvw is available
# and bump it too.
LIBUV_VERSION = 1.46.0
LIBUV_SOURCE = libuv-v$(LIBUV_VERSION)-dist.tar.gz
LIBUV_SITE = https://dist.libuv.org/dist/v$(LIBUV_VERSION)
LIBUV_DEPENDENCIES = host-pkgconf
LIBUV_INSTALL_STAGING = YES
LIBUV_LICENSE = BSD-2-Clause, BSD-3-Clause, ISC, MIT
LIBUV_LICENSE_FILES = LICENSE LICENSE-extra
LIBUV_CPE_ID_VENDOR = libuv
# Upstream needs tests to be run sequentially. This is the default in
# automake 1.11 and before, but not starting in 1.12. To maintain
# sequentiality in 1.12 and later, the automake option 'serial-tests'
# must be used, Unfortunately, it is not recognised by 1.11 and
# before. So upstream only adds it conditionally. We use automake
# 1.14, so we need it.
define LIBUV_FIXUP_AUTOGEN
echo "m4_define([UV_EXTRA_AUTOMAKE_FLAGS], [serial-tests])" \
>$(@D)/m4/libuv-extra-automake-flags.m4
endef
LIBUV_POST_PATCH_HOOKS += LIBUV_FIXUP_AUTOGEN
$(eval $(autotools-package))