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
|
|
|
|
2012-12-16 02:52:16 +01:00
|
|
|
LIBXSLT_VERSION = 1.1.28
|
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
|
|
|
|
2012-01-18 11:26:20 +01:00
|
|
|
LIBXSLT_CONF_OPT = --with-gnu-ld --without-debug \
|
|
|
|
--without-python --with-libxml-prefix=$(STAGING_DIR)/usr/
|
2013-02-07 13:35:06 +01:00
|
|
|
LIBXSLT_CONFIG_SCRIPTS = xslt-config
|
2012-01-18 11:26:20 +01:00
|
|
|
LIBXSLT_DEPENDENCIES = libxml2
|
|
|
|
|
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
|
2012-01-19 09:41:57 +01:00
|
|
|
LIBXSLT_CONF_OPT += --without-crypto
|
2008-08-28 13:52:17 +02:00
|
|
|
endif
|
2007-11-28 09:59:17 +01:00
|
|
|
|
2011-05-02 21:08:23 +02:00
|
|
|
HOST_LIBXSLT_CONF_OPT = --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))
|