wok-6.x view libxslt/receipt @ rev 23065
miro: update for ffmpeg
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 09 18:50:16 2020 +0100 (2020-03-09) |
parents | 73fb2ebfd59a |
children | 73dbde138d18 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libxslt"
4 VERSION="1.1.33"
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 }