kumquat-buildroot/package/pcre/pcre.mk

24 lines
691 B
Makefile
Raw Normal View History

2008-04-24 18:56:06 +02:00
#############################################################
#
# PCRE
#
#############################################################
PCRE_VERSION = 8.33
2008-04-24 18:56:06 +02:00
PCRE_SITE = ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre
PCRE_LICENSE = BSD-3c
PCRE_LICENSE_FILES = LICENCE
2008-04-24 18:56:06 +02:00
PCRE_INSTALL_STAGING = YES
PCRE_CONFIG_SCRIPTS = pcre-config
2008-04-24 18:56:06 +02:00
ifneq ($(BR2_INSTALL_LIBSTDCPP),y)
# pcre will use the host g++ if a cross version isn't available
PCRE_CONF_OPT = --disable-cpp
endif
2008-04-24 18:56:06 +02:00
PCRE_CONF_OPT += --enable-pcre8
PCRE_CONF_OPT += $(if $(BR2_PACKAGE_PCRE_16),--enable-pcre16,--disable-pcre16)
PCRE_CONF_OPT += $(if $(BR2_PACKAGE_PCRE_32),--enable-pcre32,--disable-pcre32)
$(eval $(autotools-package))