wok-current view libxslt/receipt @ rev 25634

Mass update, new toolchain gcc 8.3.0, glibc 2.28.0
author Stanislas Leduc <shann@slitaz.org>
date Sun Jan 14 08:12:37 2024 +0000 (11 months ago)
parents fb22330086d8
children 5926178cd6fa
line source
1 # SliTaz package receipt.
3 PACKAGE="libxslt"
4 VERSION="1.1.35"
5 CATEGORY="system-tools"
6 SHORT_DESC="XSLT support for libxml2."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="http://www.xmlsoft.org/XSLT/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="$GNOME_MIRROR/libxslt/${VERSION%.*}/$TARBALL"
14 DEPENDS="libgcrypt libgpg-error libxml2 zlib"
15 BUILD_DEPENDS="libgcrypt-dev libgpg-error-dev libxml2-dev \
16 python-dev zlib-dev"
18 HOST_ARCH="i486 arm"
20 # Handle cross compilation
21 case "$ARCH" in
22 arm) BUILD_DEPENDS="libgcrypt-dev libgpg-error-dev libxml2-dev" ;;
23 esac
25 current_version()
26 {
27 wget -O - https://gitlab.gnome.org/GNOME/libxslt/-/tags 2>/dev/null | \
28 sed '/tar.gz/!d;/data/d;/CVE/d;/-rc/d;s|.*/libxslt-v\(.*\).tar.gz".*|\1|' | sort -Vr | sed q
29 }
31 # Rules to configure and make the package.
32 compile_rules()
33 {
34 ./configure $CONFIGURE_ARGS &&
35 make -j 1 &&
36 make install 2>&1 | grep -v 'html/index.sgml'
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr/lib/libxslt-plugins
44 cp -a $install/usr/lib/*.so* $fs/usr/lib
45 cp -a $install/usr/bin $fs/usr
47 rm $fs/usr/bin/xslt-config
48 }