wok-next view libxslt/receipt @ rev 21722

efivar: typo in post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 01 10:31:46 2020 +0000 (2020-09-01)
parents d5aab818505e
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libxslt"
4 VERSION="1.1.33"
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"
14 TARBALL_SHA1="7dcda921d9d3d3325449dae5cf84dbb102d26928"
16 BUILD_DEPENDS="libgcrypt-dev libgpg-error-dev libxml2-dev zlib-dev python-dev"
17 SPLIT="$PACKAGE-python $PACKAGE-dev"
19 COPY_std="xsltproc lib/*.so.*"
20 COPY_python="python2*/*/*.py python2*/*/*.so"
21 COPY_dev="@dev xsltConf.sh libxslt.so libexslt.so"
23 DEPENDS_std="libgcrypt libxml2" # libgpg-error liblzma zlib
24 DEPENDS_python="$PACKAGE libxml2 python" # libgcrypt libgpg-error liblzma zlib
25 DEPENDS_dev="$PACKAGE libgcrypt-dev libgpg-error-dev libxml2-dev" # xz-dev zlib-dev
27 CAT_python="development|python module"
29 COOKOPTS="skip-log-errors"
31 compile_rules() {
32 sed -i 's|3000|5000|' libxslt/transform.c doc/xsltproc.1 doc/xsltproc.xml
34 ./configure \
35 --disable-static \
36 $CONFIGURE_ARGS &&
37 fix libtool &&
38 make &&
39 make install || return 1
41 find $install -name '*.sh' -exec chmod +x '{}' \;
42 }