wok view libxslt/receipt @ rev 23682

qemu: partial cloop v4 support (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Apr 26 15:41:58 2020 +0000 (2020-04-26)
parents 06ffe7f7cb2a
children 3e2a0347b2f1
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 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./configure $CONFIGURE_ARGS &&
29 make -j 1 &&
30 make install 2>&1 | grep -v 'html/index.sgml'
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/lib/libxslt-plugins
38 cp -a $install/usr/lib/*.so* $fs/usr/lib
39 cp -a $install/usr/bin $fs/usr
41 rm $fs/usr/bin/xslt-config
42 }