################################################################################
#
# libxslt
#
################################################################################

LIBXSLT_VERSION = 1.1.34
LIBXSLT_DIR = libxslt-$(LIBXSLT_VERSION)
LIBXSLT_SOURCE = libxslt-$(LIBXSLT_VERSION).tar.gz
LIBXSLT_SITE = http://xmlsoft.org/sources

LIBXSLT_DEPENDENCIES = libxml2

LIBXSLT_CONFIG_SCRIPTS = xslt-config

LIBXSLT_CONF_OPTS = \
	--datarootdir=$(REMOVE_datarootdir) \
	--enable-shared \
	--disable-static \
	--without-python \
	--without-crypto \
	--without-debug \
	--without-mem-debug

define LIBXSLT_TARGET_CLEANUP
	$(TARGET_RM) $(addprefix $(TARGET_libdir)/,libxslt-plugins xsltConf.sh)
endef
LIBXSLT_TARGET_FINALIZE_HOOKS += LIBXSLT_TARGET_CLEANUP

libxslt: | $(TARGET_DIR)
	$(call autotools-package)