wok-next view libxslt/receipt @ rev 21087
Updates...
Revert names: libsdl -> sdl, libsmpeg -> smpeg, libtdb -> tdb
Revert names: libsdl -> sdl, libsmpeg -> smpeg, libtdb -> tdb
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Dec 28 05:11:49 2018 +0200 (2018-12-28) |
parents | f48456621a9d |
children | 3276fe92de43 |
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="devel@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="http://www.xmlsoft.org/XSLT/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/libxslt.html"
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 SPLIT="$PACKAGE-python $PACKAGE-dev"
17 COOKOPTS="skip-log-errors"
19 compile_rules() {
20 sed -i 's|3000|5000|' libxslt/transform.c doc/xsltproc.1 doc/xsltproc.xml
22 ./configure \
23 --disable-static \
24 $CONFIGURE_ARGS &&
25 fix libtool &&
26 make &&
27 make install
28 }
30 genpkg_rules() {
31 case $PACKAGE in
32 libxslt)
33 copy xsltproc libxslt.so* libexslt.so*
34 DEPENDS="libgcrypt libgpg-error liblzma libxml2 zlib"
35 ;;
36 libxslt-python)
37 copy python*/
38 find $fs -name '*.la' -delete
39 DEPENDS="libgcrypt libgpg-error liblzma libxml2 libxslt python zlib"
40 CAT="development|python module"
41 ;;
42 libxslt-dev)
43 copy @dev xsltConf.sh
44 DEPENDS="libxslt libxslt-python libgcrypt-dev libgpg-error-dev \
45 libxml2-dev xz-dev zlib-dev"
46 ;;
47 esac
48 }