wok view libxslt/receipt @ rev 24148
Up nnn (4.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Nov 24 16:03:33 2021 +0000 (2021-11-24) |
parents | 73dbde138d18 |
children | fb22330086d8 |
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 - $WEB_SITE/news.html 2>/dev/null | \
28 sed '/<h3>v/!d;s|.*<h3>v||;s|:.*||;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 }