6d7644df70
The location at ftp.csx.cam.ac.uk only stores 2 latest versions of PCRE. This results in old (2015.11 and older currently) buildroot versions timing out on wget several times and having to retrieve the package from sources.buildroot.org afterwards. Signed-off-by: Oleg Kitain <okitain@ya.ru> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
31 lines
1.0 KiB
Makefile
31 lines
1.0 KiB
Makefile
################################################################################
|
|
#
|
|
# pcre
|
|
#
|
|
################################################################################
|
|
|
|
PCRE_VERSION = 8.40
|
|
PCRE_SITE = https://ftp.pcre.org/pub/pcre
|
|
PCRE_SOURCE = pcre-$(PCRE_VERSION).tar.bz2
|
|
PCRE_LICENSE = BSD-3c
|
|
PCRE_LICENSE_FILES = LICENCE
|
|
PCRE_INSTALL_STAGING = YES
|
|
PCRE_CONFIG_SCRIPTS = pcre-config
|
|
|
|
# They're required for host-libglib2
|
|
HOST_PCRE_CONF_OPTS = --enable-unicode-properties
|
|
|
|
ifneq ($(BR2_INSTALL_LIBSTDCPP),y)
|
|
# pcre will use the host g++ if a cross version isn't available
|
|
PCRE_CONF_OPTS = --disable-cpp
|
|
endif
|
|
|
|
PCRE_CONF_OPTS += --enable-pcre8
|
|
PCRE_CONF_OPTS += $(if $(BR2_PACKAGE_PCRE_16),--enable-pcre16,--disable-pcre16)
|
|
PCRE_CONF_OPTS += $(if $(BR2_PACKAGE_PCRE_32),--enable-pcre32,--disable-pcre32)
|
|
PCRE_CONF_OPTS += $(if $(BR2_PACKAGE_PCRE_UTF),--enable-utf,--disable-utf)
|
|
PCRE_CONF_OPTS += $(if $(BR2_PACKAGE_PCRE_UCP),--enable-unicode-properties,--disable-unicode-properties)
|
|
|
|
$(eval $(autotools-package))
|
|
$(eval $(host-autotools-package))
|