kumquat-buildroot/package/pcre2/pcre2.mk
Julien Olivain af2cfc61a2 package/pcre2: update _SITE url
The pcre2 url [1] is now redirecting to [2]. This change was
announced in upstream commit [3] which was already included in
pcre2 10.41.

This commit updates the PCRE2_SITE url accordingly. The package
version remains unchanged.

[1] https://github.com/PhilipHazel/pcre2
[2] https://github.com/PCRE2Project/pcre2
[3] 66b3cb34df

Signed-off-by: Julien Olivain <ju.o@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2023-03-12 13:32:07 +01:00

36 lines
1.0 KiB
Makefile

################################################################################
#
# pcre2
#
################################################################################
PCRE2_VERSION = 10.42
PCRE2_SITE = https://github.com/PCRE2Project/pcre2/releases/download/pcre2-$(PCRE2_VERSION)
PCRE2_SOURCE = pcre2-$(PCRE2_VERSION).tar.bz2
PCRE2_LICENSE = BSD-3-Clause
PCRE2_LICENSE_FILES = LICENCE
PCRE2_CPE_ID_VENDOR = pcre
PCRE2_INSTALL_STAGING = YES
PCRE2_CONFIG_SCRIPTS = pcre2-config
PCRE2_CONF_OPTS += --enable-pcre2-8
PCRE2_CONF_OPTS += $(if $(BR2_PACKAGE_PCRE2_16),--enable-pcre2-16,--disable-pcre2-16)
PCRE2_CONF_OPTS += $(if $(BR2_PACKAGE_PCRE2_32),--enable-pcre2-32,--disable-pcre2-32)
ifeq ($(BR2_PACKAGE_PCRE2_JIT),y)
PCRE2_CONF_OPTS += --enable-jit
else
PCRE2_CONF_OPTS += --disable-jit
endif
# disable fork usage if not available
ifeq ($(BR2_USE_MMU),)
PCRE2_CONF_OPTS += --disable-pcre2grep-callout
endif
# needed for qt6base
HOST_PCRE2_CONF_OPTS = --enable-pcre2-16
$(eval $(autotools-package))
$(eval $(host-autotools-package))