cc570eff96
As stated on www.pcre.org: You can download the current release of the PCRE2 library from its official home on GitHub [...] Note that the former ftp.pcre.org FTP site is no longer available. Update _SITE URL to the official home on Github. Signed-off-by: Dario Binacchi <dariobin@libero.it> Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com> [yann.morin.1998@free.fr: use Github, not SourceForge] Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
33 lines
983 B
Makefile
33 lines
983 B
Makefile
################################################################################
|
|
#
|
|
# pcre2
|
|
#
|
|
################################################################################
|
|
|
|
PCRE2_VERSION = 10.37
|
|
PCRE2_SITE = https://github.com/PhilipHazel/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
|
|
|
|
$(eval $(autotools-package))
|
|
$(eval $(host-autotools-package))
|