wok-next view libxslt/receipt @ rev 20779

typo
author Erkan Yilmaz <erkan@slitaz.org>
date Fri Jun 08 09:48:36 2018 +0000 (2018-06-08)
parents 0e7893ac206d
children f48456621a9d
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libxslt"
4 VERSION="1.1.32"
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="http://www.linuxfromscratch.org/blfs/view/stable/general/libxslt.html"
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 sed -i 's|3000|5000|' libxslt/transform.c doc/xsltproc.1 doc/xsltproc.xml
23 ./configure \
24 --disable-static \
25 $CONFIGURE_ARGS &&
26 fix libtool &&
27 make &&
28 make install
29 }
31 genpkg_rules() {
32 case $PACKAGE in
33 libxslt)
34 copy xsltproc libxslt.so* libexslt.so*
35 DEPENDS="libgcrypt libgpg-error liblzma libxml2 zlib"
36 ;;
37 libxslt-python)
38 copy python*/
39 find $fs -name '*.la' -delete
40 DEPENDS="libgcrypt libgpg-error liblzma libxml2 libxslt python zlib"
41 CAT="development|python module"
42 ;;
43 libxslt-dev)
44 copy @dev xsltConf.sh
45 DEPENDS="libxslt libxslt-python libgcrypt-dev libgpg-error-dev \
46 libxml2-dev xz-dev zlib-dev"
47 ;;
48 esac
49 }