wok view libxslt/receipt @ rev 25214

updated python-pastedeploy (2.1.0 -> 2.1.1)
author Hans-G?nter Theisgen
date Wed Jul 13 15:21:10 2022 +0100 (2022-07-13)
parents 3e2a0347b2f1
children
line source
1 # SliTaz package receipt.
3 PACKAGE="libxslt"
4 VERSION="1.1.34"
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.gz"
12 WGET_URL="ftp://xmlsoft.org/libxslt/$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 }