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
|
|
|
|
2018-06-07 20:07:04 +02:00
|
|
|
LIBXSLT_VERSION = 1.1.32
|
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 \
|
2018-09-21 16:58:36 +02:00
|
|
|
--without-python \
|
|
|
|
--with-libxml-prefix=$(STAGING_DIR)/usr
|
2013-02-07 13:35:06 +01:00
|
|
|
LIBXSLT_CONFIG_SCRIPTS = xslt-config
|
2018-06-07 20:07:04 +02:00
|
|
|
LIBXSLT_DEPENDENCIES = host-pkgconf libxml2
|
2012-01-18 11:26:20 +01:00
|
|
|
|
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
|
|
|
|
2018-06-07 20:07:04 +02:00
|
|
|
HOST_LIBXSLT_DEPENDENCIES = host-pkgconf host-libxml2
|
2010-02-20 18:12:34 +01:00
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|
2012-07-03 00:06:54 +02:00
|
|
|
$(eval $(host-autotools-package))
|