wok-next view libxslt/receipt @ rev 19925

libftdi: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 14 23:27:36 2017 +0200 (2017-10-14)
parents 35a20e111081
children 0e7893ac206d
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libxslt"
4 VERSION="1.1.29"
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/"
10 HOST_ARCH="i486 arm"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="http://xmlsoft.org/sources/$TARBALL"
15 BUILD_DEPENDS="libgcrypt-dev libgpg-error-dev libxml2-dev zlib-dev python-dev"
16 BUILD_DEPENDS_arm="libgcrypt-dev libgpg-error-dev libxml2-dev"
17 SPLIT="libxslt-python libxslt-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 ./configure \
23 --disable-static \
24 $CONFIGURE_ARGS &&
25 make &&
26 make install 2>&1 | grep -v 'html/index.sgml'
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 case $PACKAGE in
33 libxslt)
34 copy xsltproc libxslt.so* libexslt.so*
35 DEPENDS="libgcrypt libgpg-error libxml2 zlib"
36 ;;
37 libxslt-python)
38 copy python*/
39 find $fs -name '*.la' -delete
40 DEPENDS="libxslt python"
41 CAT="development|python module"
42 ;;
43 libxslt-dev)
44 copy @dev xsltConf.sh
45 DEPENDS="libxslt libxslt-python libgcrypt-dev libxml2-dev zlib-dev"
46 ;;
47 esac
48 }