
Receipt for package "libxml2"
# SliTaz package receipt. PACKAGE="libxml2" VERSION="2.9.14" CATEGORY="system-tools" SHORT_DESC="XML C parser and toolkit." MAINTAINER="pankso@slitaz.org" LICENSE="MIT" WEB_SITE="http://xmlsoft.org/" TARBALL="$PACKAGE-$VERSION.tar.xz" WGET_URL="$GNOME_MIRROR/libxml2/${VERSION%.*}/$TARBALL" DEPENDS="zlib" BUILD_DEPENDS="autoconf automake libtool python-dev zlib-dev" HOST_ARCH="i486 arm x86_64" # When cross compiling Python is installed in chroot and is used # by cross tools, cook dont need to install it in /usr/cross/arm # Building with LZMA support is buggy and build fails case "$ARCH" in arm) BUILD_DEPENDS="" ARCH_ARGS="--without-lzma" ;; esac # What is the latest version available today? current_version() { wget -O - "https://gitlab.gnome.org/GNOME/libxml2/-/tags/?sort=updated_desc" 2>/dev/null | \ sed '/item-title/!d;s|.*">v*||;s|<.*||;q' } # Rules to configure and make the package. # # Note: libxml2 can be build using option --with-minimum # and binaries are splited into libxml2-tools compile_rules() { # CVEs patch -p1 < $stuff/CVE-2024-25062.patch patch -p1 < $stuff/CVE-2024-34459.patch #patch -p1 < $stuff/CVE-2024-40896.patch autoreconf -fi && ./configure \ --prefix=/usr \ --infodir=/usr/share/info \ --mandir=/usr/share/man \ --with-html-dir=/usr/share/doc \ --with-threads \ --with-history \ $CONFIGURE_ARGS $ARCH_ARGS && make && make install DESTDIR=$DESTDIR } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/lib cp -a $install/usr/lib/*.so* $fs/usr/lib }
6091 packages and 256114 files in current database (Thu Apr 3 00:00:04 2025)