1################################################################################ 2# 3# libuv 4# 5################################################################################ 6 7# When bumping libuv, check if a new version of uvw is available 8# and bump it too. 9LIBUV_VERSION = 1.42.0 10LIBUV_SITE = $(call github,libuv,libuv,v$(LIBUV_VERSION)) 11LIBUV_DEPENDENCIES = host-pkgconf 12LIBUV_INSTALL_STAGING = YES 13LIBUV_AUTORECONF = YES 14LIBUV_LICENSE = BSD-2-Clause, BSD-3-Clause, ISC, MIT 15LIBUV_LICENSE_FILES = LICENSE 16LIBUV_CPE_ID_VENDOR = libuv 17 18# Upstream needs tests to be run sequentially. This is the default in 19# automake 1.11 and before, but not starting in 1.12. To maintain 20# sequentiality in 1.12 and later, the automake option 'serial-tests' 21# must be used, Unfortunately, it is not recognised by 1.11 and 22# before. So upstream only adds it conditionally. We use automake 23# 1.14, so we need it. 24define LIBUV_FIXUP_AUTOGEN 25 echo "m4_define([UV_EXTRA_AUTOMAKE_FLAGS], [serial-tests])" \ 26 >$(@D)/m4/libuv-extra-automake-flags.m4 27endef 28LIBUV_POST_PATCH_HOOKS += LIBUV_FIXUP_AUTOGEN 29 30$(eval $(autotools-package)) 31