2017-07-07 05:45:16 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# pcre2
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2021-03-15 21:48:45 +01:00
|
|
|
PCRE2_VERSION = 10.36
|
2017-07-07 05:45:16 +02:00
|
|
|
PCRE2_SITE = https://ftp.pcre.org/pub/pcre
|
|
|
|
PCRE2_SOURCE = pcre2-$(PCRE2_VERSION).tar.bz2
|
|
|
|
PCRE2_LICENSE = BSD-3-Clause
|
|
|
|
PCRE2_LICENSE_FILES = LICENCE
|
2021-07-17 11:39:14 +02:00
|
|
|
PCRE2_CPE_ID_VENDOR = pcre
|
2017-07-07 05:45:16 +02:00
|
|
|
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)
|
|
|
|
|
2019-02-16 00:20:58 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_PCRE2_JIT),y)
|
|
|
|
PCRE2_CONF_OPTS += --enable-jit
|
|
|
|
else
|
|
|
|
PCRE2_CONF_OPTS += --disable-jit
|
|
|
|
endif
|
|
|
|
|
2017-07-10 20:51:22 +02:00
|
|
|
# disable fork usage if not available
|
|
|
|
ifeq ($(BR2_USE_MMU),)
|
|
|
|
PCRE2_CONF_OPTS += --disable-pcre2grep-callout
|
|
|
|
endif
|
|
|
|
|
2017-07-07 05:45:16 +02:00
|
|
|
$(eval $(autotools-package))
|
|
|
|
$(eval $(host-autotools-package))
|