wok view libxslt/receipt @ rev 20373

gcc??-lib-base: restore previous libgcc_s.so.1
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jun 10 15:08:22 2018 +0200 (2018-06-10)
parents e68abb67e0b5
children 06ffe7f7cb2a
line source
1 # SliTaz package receipt.
3 PACKAGE="libxslt"
4 VERSION="1.1.26"
5 CATEGORY="system-tools"
6 SHORT_DESC="XSLT support for libxml2."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="MIT"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.xmlsoft.org/XSLT/"
11 WGET_URL="ftp://xmlsoft.org/libxslt/$TARBALL"
12 HOST_ARCH="i486 arm"
14 DEPENDS="libgcrypt libgpg-error libxml2 zlib"
15 BUILD_DEPENDS="libgcrypt-dev libgpg-error-dev libxml2-dev zlib-dev \
16 python-dev"
18 # Handle cross compilation
19 case "$ARCH" in
20 arm) BUILD_DEPENDS="libgcrypt-dev libgpg-error-dev libxml2-dev" ;;
21 esac
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./configure $CONFIGURE_ARGS &&
27 make &&
28 make install 2>&1 | grep -v 'html/index.sgml'
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib/libxslt-plugins
35 cp -a $install/usr/lib/*.so* $fs/usr/lib
36 cp -a $install/usr/bin $fs/usr
37 rm $fs/usr/bin/xslt-config
38 }