2013-06-05 17:53:30 -06:00
|
|
|
################################################################################
|
2007-11-28 01:59:17 -07:00
|
|
|
#
|
|
|
|
# libxslt
|
|
|
|
#
|
2013-06-05 17:53:30 -06:00
|
|
|
################################################################################
|
2010-12-21 07:40:27 -07:00
|
|
|
|
2022-09-13 12:18:52 -06:00
|
|
|
LIBXSLT_VERSION = 1.1.37
|
2022-03-06 05:09:02 -07:00
|
|
|
LIBXSLT_SOURCE = libxslt-$(LIBXSLT_VERSION).tar.xz
|
|
|
|
LIBXSLT_SITE = https://download.gnome.org/sources/libxslt/1.1
|
2008-08-28 05:52:17 -06:00
|
|
|
LIBXSLT_INSTALL_STAGING = YES
|
2012-09-27 05:14:28 -06:00
|
|
|
LIBXSLT_LICENSE = MIT
|
|
|
|
LIBXSLT_LICENSE_FILES = COPYING
|
2020-12-04 08:46:01 -07:00
|
|
|
LIBXSLT_CPE_ID_VENDOR = xmlsoft
|
2008-08-28 05:52:17 -06:00
|
|
|
|
2014-12-24 00:54:24 -07:00
|
|
|
LIBXSLT_CONF_OPTS = \
|
|
|
|
--with-gnu-ld \
|
|
|
|
--without-debug \
|
2018-09-21 08:58:36 -06:00
|
|
|
--without-python \
|
|
|
|
--with-libxml-prefix=$(STAGING_DIR)/usr
|
2013-02-07 05:35:06 -07:00
|
|
|
LIBXSLT_CONFIG_SCRIPTS = xslt-config
|
2018-06-07 12:07:04 -06:00
|
|
|
LIBXSLT_DEPENDENCIES = host-pkgconf libxml2
|
2012-01-18 03:26:20 -07:00
|
|
|
|
2008-08-28 05:52:17 -06:00
|
|
|
# If we have enabled libgcrypt then use it, else disable crypto support.
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBGCRYPT),y)
|
2012-01-18 03:26:20 -07:00
|
|
|
LIBXSLT_DEPENDENCIES += libgcrypt
|
2012-07-11 03:50:10 -06:00
|
|
|
LIBXSLT_CONF_ENV += LIBGCRYPT_CONFIG=$(STAGING_DIR)/usr/bin/libgcrypt-config
|
2008-08-28 05:52:17 -06:00
|
|
|
else
|
2014-09-27 13:32:44 -06:00
|
|
|
LIBXSLT_CONF_OPTS += --without-crypto
|
2008-08-28 05:52:17 -06:00
|
|
|
endif
|
2007-11-28 01:59:17 -07:00
|
|
|
|
2014-09-27 13:32:44 -06:00
|
|
|
HOST_LIBXSLT_CONF_OPTS = --without-debug --without-python --without-crypto
|
2010-02-20 10:12:34 -07:00
|
|
|
|
2018-06-07 12:07:04 -06:00
|
|
|
HOST_LIBXSLT_DEPENDENCIES = host-pkgconf host-libxml2
|
2010-02-20 10:12:34 -07:00
|
|
|
|
2012-07-02 16:07:32 -06:00
|
|
|
$(eval $(autotools-package))
|
2012-07-02 16:06:54 -06:00
|
|
|
$(eval $(host-autotools-package))
|