wok-next annotate libxslt/receipt @ rev 21135
Up libgcrypt (1.8.4), libpgp-error (1.34), libxml2 (2.9.9), libxslt (1.1.33).
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun Jan 20 16:02:24 2019 +0200 (2019-01-20) |
parents | d5aab818505e |
children |
rev | line source |
---|---|
al@19733 | 1 # SliTaz package receipt v2. |
pankso@147 | 2 |
pankso@147 | 3 PACKAGE="libxslt" |
al@21135 | 4 VERSION="1.1.33" |
pankso@211 | 5 CATEGORY="system-tools" |
al@19733 | 6 SHORT_DESC="XSLT support for libxml2" |
al@21020 | 7 MAINTAINER="devel@slitaz.org" |
pascal@15268 | 8 LICENSE="MIT" |
pankso@147 | 9 WEB_SITE="http://www.xmlsoft.org/XSLT/" |
al@21017 | 10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/libxslt.html" |
pankso@147 | 11 |
al@19607 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@19607 | 13 WGET_URL="http://xmlsoft.org/sources/$TARBALL" |
al@21135 | 14 TARBALL_SHA1="7dcda921d9d3d3325449dae5cf84dbb102d26928" |
al@19607 | 15 |
al@19607 | 16 BUILD_DEPENDS="libgcrypt-dev libgpg-error-dev libxml2-dev zlib-dev python-dev" |
al@21020 | 17 SPLIT="$PACKAGE-python $PACKAGE-dev" |
al@21135 | 18 |
al@21135 | 19 COPY_std="xsltproc lib/*.so.*" |
al@21135 | 20 COPY_python="python2*/*/*.py python2*/*/*.so" |
al@21135 | 21 COPY_dev="@dev xsltConf.sh libxslt.so libexslt.so" |
al@21135 | 22 |
al@21135 | 23 DEPENDS_std="libgcrypt libxml2" # libgpg-error liblzma zlib |
al@21135 | 24 DEPENDS_python="$PACKAGE libxml2 python" # libgcrypt libgpg-error liblzma zlib |
al@21135 | 25 DEPENDS_dev="$PACKAGE libgcrypt-dev libgpg-error-dev libxml2-dev" # xz-dev zlib-dev |
al@21135 | 26 |
al@21135 | 27 CAT_python="development|python module" |
al@21135 | 28 |
al@20443 | 29 COOKOPTS="skip-log-errors" |
pankso@15969 | 30 |
al@20443 | 31 compile_rules() { |
al@20595 | 32 sed -i 's|3000|5000|' libxslt/transform.c doc/xsltproc.1 doc/xsltproc.xml |
al@20595 | 33 |
al@19607 | 34 ./configure \ |
al@19607 | 35 --disable-static \ |
al@19607 | 36 $CONFIGURE_ARGS && |
al@20595 | 37 fix libtool && |
pascal@2475 | 38 make && |
al@21135 | 39 make install || return 1 |
al@21135 | 40 |
al@21135 | 41 find $install -name '*.sh' -exec chmod +x '{}' \; |
pankso@147 | 42 } |