libxslt.mk 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  1. ################################################################################
  2. #
  3. # libxslt
  4. #
  5. ################################################################################
  6. LIBXSLT_VERSION = 1.1.42
  7. LIBXSLT_SOURCE = libxslt-$(LIBXSLT_VERSION).tar.xz
  8. LIBXSLT_SITE = https://download.gnome.org/sources/libxslt/1.1
  9. LIBXSLT_INSTALL_STAGING = YES
  10. LIBXSLT_LICENSE = MIT
  11. LIBXSLT_LICENSE_FILES = COPYING
  12. LIBXSLT_CPE_ID_VENDOR = xmlsoft
  13. LIBXSLT_CONF_OPTS = \
  14. --with-gnu-ld \
  15. --without-debug \
  16. --without-python \
  17. --with-libxml-prefix=$(STAGING_DIR)/usr
  18. LIBXSLT_CONFIG_SCRIPTS = xslt-config
  19. LIBXSLT_DEPENDENCIES = host-pkgconf libxml2
  20. # If we have enabled libgcrypt then use it, else disable crypto support.
  21. ifeq ($(BR2_PACKAGE_LIBGCRYPT),y)
  22. LIBXSLT_DEPENDENCIES += libgcrypt
  23. LIBXSLT_CONF_ENV += LIBGCRYPT_CONFIG=$(STAGING_DIR)/usr/bin/libgcrypt-config
  24. else
  25. LIBXSLT_CONF_OPTS += --without-crypto
  26. endif
  27. HOST_LIBXSLT_CONF_OPTS = --without-debug --without-python --without-crypto
  28. HOST_LIBXSLT_DEPENDENCIES = host-pkgconf host-libxml2
  29. $(eval $(autotools-package))
  30. $(eval $(host-autotools-package))