libxslt_1.1.43.bb 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. SUMMARY = "GNOME XSLT library"
  2. DESCRIPTION = "libxslt is the XSLT C parser and toolkit developed for the Gnome project. \
  3. XSLT itself is a an XML language to define transformation for XML. Libxslt is based on \
  4. libxml2 the XML C library developed for the GNOME project. It also implements most of \
  5. the EXSLT set of processor-portable extensions functions and some of Saxon's evaluate \
  6. and expressions extensions."
  7. HOMEPAGE = "http://xmlsoft.org/XSLT/"
  8. BUGTRACKER = "https://bugzilla.gnome.org/"
  9. LICENSE = "MIT"
  10. LIC_FILES_CHKSUM = "file://Copyright;md5=0cd9a07afbeb24026c9b03aecfeba458"
  11. SECTION = "libs"
  12. DEPENDS = "libxml2"
  13. SRC_URI = "https://download.gnome.org/sources/libxslt/1.1/libxslt-${PV}.tar.xz"
  14. SRC_URI[sha256sum] = "5a3d6b383ca5afc235b171118e90f5ff6aa27e9fea3303065231a6d403f0183a"
  15. UPSTREAM_CHECK_REGEX = "libxslt-(?P<pver>\d+(\.\d+)+)\.tar"
  16. CVE_STATUS[CVE-2022-29824] = "not-applicable-config: Static linking to libxml2 is not enabled."
  17. S = "${WORKDIR}/libxslt-${PV}"
  18. BINCONFIG = "${bindir}/xslt-config"
  19. inherit autotools pkgconfig binconfig-disabled lib_package multilib_header
  20. do_configure:prepend () {
  21. # We don't DEPEND on binutils for ansidecl.h so ensure we don't use the header.
  22. # This can be removed when upgrading to 1.1.34.
  23. sed -i -e 's/ansidecl.h//' ${S}/configure.ac
  24. # The timestamps in the 1.1.28 tarball are messed up causing this file to
  25. # appear out of date. Touch it so that we don't try to regenerate it.
  26. touch ${S}/doc/xsltproc.1
  27. }
  28. EXTRA_OECONF = "--without-python --without-debug --without-crypto"
  29. # older versions of this recipe had ${PN}-utils
  30. RPROVIDES:${PN}-bin += "${PN}-utils"
  31. RCONFLICTS:${PN}-bin += "${PN}-utils"
  32. RREPLACES:${PN}-bin += "${PN}-utils"
  33. # This is only needed until libxml can load the relocated catalog itself
  34. do_install:append:class-native () {
  35. create_wrapper ${D}/${bindir}/xsltproc XML_CATALOG_FILES=${sysconfdir}/xml/catalog
  36. }
  37. do_install:append () {
  38. oe_multilib_header libxslt/xsltconfig.h
  39. }
  40. FILES:${PN} += "${libdir}/libxslt-plugins"
  41. FILES:${PN}-dev += "${libdir}/xsltConf.sh"
  42. BBCLASSEXTEND = "native nativesdk"