wok-next view libxslt/receipt @ rev 20511
Up alsa-tools, git, gmerlin.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Mar 16 17:17:21 2018 +0200 (2018-03-16) |
parents | 2c48a1f40bb6 |
children | 5841522533ec |
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 LFS=""
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="http://xmlsoft.org/sources/$TARBALL"
15 BUILD_DEPENDS_arm="libgcrypt-dev libgpg-error-dev libxml2-dev"
16 BUILD_DEPENDS="libgcrypt-dev libgpg-error-dev libxml2-dev zlib-dev python-dev"
17 SPLIT="libxslt-python libxslt-dev"
18 COOKOPTS="skip-log-errors"
20 compile_rules() {
21 ./configure \
22 --disable-static \
23 $CONFIGURE_ARGS &&
24 make &&
25 make install
26 }
28 genpkg_rules() {
29 case $PACKAGE in
30 libxslt)
31 copy xsltproc libxslt.so* libexslt.so*
32 DEPENDS="libgcrypt libgpg-error liblzma libxml2 zlib"
33 ;;
34 libxslt-python)
35 copy python*/
36 find $fs -name '*.la' -delete
37 DEPENDS="libgcrypt libgpg-error liblzma libxml2 libxslt python zlib"
38 CAT="development|python module"
39 ;;
40 libxslt-dev)
41 copy @dev xsltConf.sh
42 DEPENDS="libxslt libxslt-python libgcrypt-dev libgpg-error-dev \
43 libxml2-dev xz-dev zlib-dev"
44 ;;
45 esac
46 }