wok annotate libxslt/receipt @ rev 25540

Update some web_site/wget_url with https
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Mar 09 18:12:54 2023 +0000 (20 months ago)
parents 3e2a0347b2f1
children
rev   line source
pankso@147 1 # SliTaz package receipt.
pankso@147 2
pankso@147 3 PACKAGE="libxslt"
Hans-G?nter@23126 4 VERSION="1.1.34"
pankso@211 5 CATEGORY="system-tools"
pankso@147 6 SHORT_DESC="XSLT support for libxml2."
pankso@147 7 MAINTAINER="pankso@slitaz.org"
pascal@15268 8 LICENSE="MIT"
Hans-G?nter@21353 9 WEB_SITE="http://www.xmlsoft.org/XSLT/"
Hans-G?nter@21353 10
pankso@147 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@147 12 WGET_URL="ftp://xmlsoft.org/libxslt/$TARBALL"
pankso@147 13
pankso@16021 14 DEPENDS="libgcrypt libgpg-error libxml2 zlib"
Hans-G?nter@21353 15 BUILD_DEPENDS="libgcrypt-dev libgpg-error-dev libxml2-dev \
Hans-G?nter@21353 16 python-dev zlib-dev"
Hans-G?nter@21353 17
Hans-G?nter@21353 18 HOST_ARCH="i486 arm"
pascal@15268 19
pankso@16021 20 # Handle cross compilation
pankso@15969 21 case "$ARCH" in
pankso@16021 22 arm) BUILD_DEPENDS="libgcrypt-dev libgpg-error-dev libxml2-dev" ;;
pankso@15969 23 esac
pankso@15969 24
pascal@24074 25 current_version()
pascal@24074 26 {
pascal@24384 27 wget -O - https://gitlab.gnome.org/GNOME/libxslt/-/tags 2>/dev/null | \
pascal@24384 28 sed '/tar.gz/!d;/data/d;/CVE/d;/-rc/d;s|.*/libxslt-v\(.*\).tar.gz".*|\1|' | sort -Vr | sed q
pascal@24074 29 }
pascal@24074 30
pankso@147 31 # Rules to configure and make the package.
pankso@147 32 compile_rules()
pankso@147 33 {
gokhlayeh@11573 34 ./configure $CONFIGURE_ARGS &&
Hans-G?nter@21353 35 make -j 1 &&
pascal@15268 36 make install 2>&1 | grep -v 'html/index.sgml'
pankso@147 37 }
pankso@147 38
pankso@147 39 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@147 40 genpkg_rules()
pankso@147 41 {
pankso@147 42 mkdir -p $fs/usr/lib/libxslt-plugins
Hans-G?nter@21353 43
Hans-G?nter@21353 44 cp -a $install/usr/lib/*.so* $fs/usr/lib
Hans-G?nter@21353 45 cp -a $install/usr/bin $fs/usr
Hans-G?nter@21353 46
Hans-G?nter@23126 47 rm $fs/usr/bin/xslt-config
pankso@147 48 }