wok-next diff 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 |
line diff
1.1 --- a/libxslt/receipt Fri Nov 02 14:15:08 2018 +0200 1.2 +++ b/libxslt/receipt Sun Jan 20 16:02:24 2019 +0200 1.3 @@ -1,7 +1,7 @@ 1.4 # SliTaz package receipt v2. 1.5 1.6 PACKAGE="libxslt" 1.7 -VERSION="1.1.32" 1.8 +VERSION="1.1.33" 1.9 CATEGORY="system-tools" 1.10 SHORT_DESC="XSLT support for libxml2" 1.11 MAINTAINER="devel@slitaz.org" 1.12 @@ -11,9 +11,21 @@ 1.13 1.14 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.15 WGET_URL="http://xmlsoft.org/sources/$TARBALL" 1.16 +TARBALL_SHA1="7dcda921d9d3d3325449dae5cf84dbb102d26928" 1.17 1.18 BUILD_DEPENDS="libgcrypt-dev libgpg-error-dev libxml2-dev zlib-dev python-dev" 1.19 SPLIT="$PACKAGE-python $PACKAGE-dev" 1.20 + 1.21 +COPY_std="xsltproc lib/*.so.*" 1.22 +COPY_python="python2*/*/*.py python2*/*/*.so" 1.23 +COPY_dev="@dev xsltConf.sh libxslt.so libexslt.so" 1.24 + 1.25 +DEPENDS_std="libgcrypt libxml2" # libgpg-error liblzma zlib 1.26 +DEPENDS_python="$PACKAGE libxml2 python" # libgcrypt libgpg-error liblzma zlib 1.27 +DEPENDS_dev="$PACKAGE libgcrypt-dev libgpg-error-dev libxml2-dev" # xz-dev zlib-dev 1.28 + 1.29 +CAT_python="development|python module" 1.30 + 1.31 COOKOPTS="skip-log-errors" 1.32 1.33 compile_rules() { 1.34 @@ -24,25 +36,7 @@ 1.35 $CONFIGURE_ARGS && 1.36 fix libtool && 1.37 make && 1.38 - make install 1.39 + make install || return 1 1.40 + 1.41 + find $install -name '*.sh' -exec chmod +x '{}' \; 1.42 } 1.43 - 1.44 -genpkg_rules() { 1.45 - case $PACKAGE in 1.46 - libxslt) 1.47 - copy xsltproc libxslt.so* libexslt.so* 1.48 - DEPENDS="libgcrypt libgpg-error liblzma libxml2 zlib" 1.49 - ;; 1.50 - libxslt-python) 1.51 - copy python*/ 1.52 - find $fs -name '*.la' -delete 1.53 - DEPENDS="libgcrypt libgpg-error liblzma libxml2 libxslt python zlib" 1.54 - CAT="development|python module" 1.55 - ;; 1.56 - libxslt-dev) 1.57 - copy @dev xsltConf.sh 1.58 - DEPENDS="libxslt libxslt-python libgcrypt-dev libgpg-error-dev \ 1.59 - libxml2-dev xz-dev zlib-dev" 1.60 - ;; 1.61 - esac 1.62 -}