1################################################################################ 2# 3# pcre 4# 5################################################################################ 6 7PCRE_VERSION = 8.45 8PCRE_SITE = http://downloads.sourceforge.net/project/pcre/pcre/$(PCRE_VERSION) 9PCRE_SOURCE = pcre-$(PCRE_VERSION).tar.bz2 10PCRE_LICENSE = BSD-3-Clause 11PCRE_LICENSE_FILES = LICENCE 12PCRE_CPE_ID_VENDOR = pcre 13PCRE_INSTALL_STAGING = YES 14PCRE_CONFIG_SCRIPTS = pcre-config 15 16# They're required for host-libglib2 17HOST_PCRE_CONF_OPTS = --enable-unicode-properties 18 19ifneq ($(BR2_INSTALL_LIBSTDCPP),y) 20# pcre will use the host g++ if a cross version isn't available 21PCRE_CONF_OPTS = --disable-cpp 22endif 23 24PCRE_CONF_OPTS += --enable-pcre8 25PCRE_CONF_OPTS += $(if $(BR2_PACKAGE_PCRE_16),--enable-pcre16,--disable-pcre16) 26PCRE_CONF_OPTS += $(if $(BR2_PACKAGE_PCRE_32),--enable-pcre32,--disable-pcre32) 27PCRE_CONF_OPTS += $(if $(BR2_PACKAGE_PCRE_UTF),--enable-utf,--disable-utf) 28PCRE_CONF_OPTS += $(if $(BR2_PACKAGE_PCRE_UCP),--enable-unicode-properties,--disable-unicode-properties) 29 30$(eval $(autotools-package)) 31$(eval $(host-autotools-package)) 32