2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2007-11-28 09:59:17 +01:00
|
|
|
#
|
|
|
|
# libxslt
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2010-12-21 15:40:27 +01:00
|
|
|
|
2016-05-24 22:31:53 +02:00
|
|
|
LIBXSLT_VERSION = 1.1.29
|
2008-08-28 13:52:17 +02:00
|
|
|
LIBXSLT_SITE = ftp://xmlsoft.org/libxslt
|
|
|
|
LIBXSLT_INSTALL_STAGING = YES
|
2012-09-27 13:14:28 +02:00
|
|
|
LIBXSLT_LICENSE = MIT
|
|
|
|
LIBXSLT_LICENSE_FILES = COPYING
|
2008-08-28 13:52:17 +02:00
|
|
|
|
2014-12-24 08:54:24 +01:00
|
|
|
LIBXSLT_CONF_OPTS = \
|
|
|
|
--with-gnu-ld \
|
|
|
|
--without-debug \
|
|
|
|
--without-python \
|
2016-03-28 23:09:23 +02:00
|
|
|
--with-libxml-prefix=$(STAGING_DIR)/usr/ \
|
|
|
|
--with-libxml-libs-prefix=$(STAGING_DIR)/usr/lib
|
2013-02-07 13:35:06 +01:00
|
|
|
LIBXSLT_CONFIG_SCRIPTS = xslt-config
|
2012-01-18 11:26:20 +01:00
|
|
|
LIBXSLT_DEPENDENCIES = libxml2
|
|
|
|
|
2016-09-21 22:21:07 +02:00
|
|
|
# GCC bug with Os/O2/O3, PR77311
|
|
|
|
# error: unable to find a register to spill in class 'CCREGS'
|
|
|
|
ifeq ($(BR2_bfin),y)
|
|
|
|
LIBXSLT_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -O1"
|
|
|
|
endif
|
|
|
|
|
2008-08-28 13:52:17 +02:00
|
|
|
# If we have enabled libgcrypt then use it, else disable crypto support.
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBGCRYPT),y)
|
2012-01-18 11:26:20 +01:00
|
|
|
LIBXSLT_DEPENDENCIES += libgcrypt
|
2012-07-11 11:50:10 +02:00
|
|
|
LIBXSLT_CONF_ENV += LIBGCRYPT_CONFIG=$(STAGING_DIR)/usr/bin/libgcrypt-config
|
2008-08-28 13:52:17 +02:00
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
LIBXSLT_CONF_OPTS += --without-crypto
|
2008-08-28 13:52:17 +02:00
|
|
|
endif
|
2007-11-28 09:59:17 +01:00
|
|
|
|
2014-09-27 21:32:44 +02:00
|
|
|
HOST_LIBXSLT_CONF_OPTS = --without-debug --without-python --without-crypto
|
2010-02-20 18:12:34 +01:00
|
|
|
|
|
|
|
HOST_LIBXSLT_DEPENDENCIES = host-libxml2
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|
2012-07-03 00:06:54 +02:00
|
|
|
$(eval $(host-autotools-package))
|