2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2008-04-24 18:56:06 +02:00
|
|
|
#
|
2013-06-06 01:53:28 +02:00
|
|
|
# pcre
|
2008-04-24 18:56:06 +02:00
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2009-12-02 16:39:21 +01:00
|
|
|
|
2017-01-13 14:27:19 +01:00
|
|
|
PCRE_VERSION = 8.40
|
2008-04-24 18:56:06 +02:00
|
|
|
PCRE_SITE = ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre
|
2015-04-29 20:46:56 +02:00
|
|
|
PCRE_SOURCE = pcre-$(PCRE_VERSION).tar.bz2
|
2012-05-17 19:33:19 +02:00
|
|
|
PCRE_LICENSE = BSD-3c
|
|
|
|
PCRE_LICENSE_FILES = LICENCE
|
2008-04-24 18:56:06 +02:00
|
|
|
PCRE_INSTALL_STAGING = YES
|
2013-02-07 13:35:05 +01:00
|
|
|
PCRE_CONFIG_SCRIPTS = pcre-config
|
2008-04-24 18:56:06 +02:00
|
|
|
|
2016-03-22 22:38:00 +01:00
|
|
|
# They're required for host-libglib2
|
|
|
|
HOST_PCRE_CONF_OPTS = --enable-unicode-properties
|
|
|
|
|
2008-08-16 14:32:54 +02:00
|
|
|
ifneq ($(BR2_INSTALL_LIBSTDCPP),y)
|
|
|
|
# pcre will use the host g++ if a cross version isn't available
|
2014-09-27 21:32:44 +02:00
|
|
|
PCRE_CONF_OPTS = --disable-cpp
|
2008-08-16 14:32:54 +02:00
|
|
|
endif
|
2008-04-24 18:56:06 +02:00
|
|
|
|
2014-09-27 21:32:44 +02:00
|
|
|
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)
|
2013-03-06 11:22:43 +01:00
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|
2014-09-28 12:02:11 +02:00
|
|
|
$(eval $(host-autotools-package))
|