2014-07-18 22:24:18 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# libuv
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2017-09-13 16:17:32 +02:00
|
|
|
LIBUV_VERSION = v1.14.1
|
2014-12-11 00:18:49 +01:00
|
|
|
LIBUV_SITE = $(call github,libuv,libuv,$(LIBUV_VERSION))
|
2014-07-18 22:24:18 +02:00
|
|
|
LIBUV_DEPENDENCIES = host-pkgconf
|
|
|
|
LIBUV_INSTALL_STAGING = YES
|
|
|
|
LIBUV_AUTORECONF = YES
|
2017-03-30 15:43:39 +02:00
|
|
|
LIBUV_LICENSE = BSD-2-Clause, BSD-3-Clause, ISC, MIT
|
2014-07-18 22:24:18 +02:00
|
|
|
LIBUV_LICENSE_FILES = LICENSE
|
|
|
|
|
|
|
|
# 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])" \
|
2014-10-27 09:25:28 +01:00
|
|
|
>$(@D)/m4/libuv-extra-automake-flags.m4
|
2014-07-18 22:24:18 +02:00
|
|
|
endef
|
|
|
|
LIBUV_POST_PATCH_HOOKS += LIBUV_FIXUP_AUTOGEN
|
|
|
|
|
|
|
|
$(eval $(autotools-package))
|