wok-next annotate libxslt/receipt @ rev 21017
Some maintenance
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Oct 16 16:46:05 2018 +0300 (2018-10-16) |
parents | 5841522533ec |
children | d5aab818505e |
rev | line source |
---|---|
al@19733 | 1 # SliTaz package receipt v2. |
pankso@147 | 2 |
pankso@147 | 3 PACKAGE="libxslt" |
al@20595 | 4 VERSION="1.1.32" |
pankso@211 | 5 CATEGORY="system-tools" |
al@19733 | 6 SHORT_DESC="XSLT support for libxml2" |
pankso@147 | 7 MAINTAINER="pankso@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@19607 | 14 |
al@20443 | 15 BUILD_DEPENDS_arm="libgcrypt-dev libgpg-error-dev libxml2-dev" |
al@19607 | 16 BUILD_DEPENDS="libgcrypt-dev libgpg-error-dev libxml2-dev zlib-dev python-dev" |
al@19733 | 17 SPLIT="libxslt-python libxslt-dev" |
al@20443 | 18 COOKOPTS="skip-log-errors" |
pankso@15969 | 19 |
al@20443 | 20 compile_rules() { |
al@20595 | 21 sed -i 's|3000|5000|' libxslt/transform.c doc/xsltproc.1 doc/xsltproc.xml |
al@20595 | 22 |
al@19607 | 23 ./configure \ |
al@19607 | 24 --disable-static \ |
al@19607 | 25 $CONFIGURE_ARGS && |
al@20595 | 26 fix libtool && |
pascal@2475 | 27 make && |
al@20443 | 28 make install |
pankso@147 | 29 } |
pankso@147 | 30 |
al@20443 | 31 genpkg_rules() { |
al@19733 | 32 case $PACKAGE in |
al@19733 | 33 libxslt) |
al@19733 | 34 copy xsltproc libxslt.so* libexslt.so* |
al@20443 | 35 DEPENDS="libgcrypt libgpg-error liblzma libxml2 zlib" |
al@19733 | 36 ;; |
al@19733 | 37 libxslt-python) |
al@19733 | 38 copy python*/ |
al@19733 | 39 find $fs -name '*.la' -delete |
al@20443 | 40 DEPENDS="libgcrypt libgpg-error liblzma libxml2 libxslt python zlib" |
al@19733 | 41 CAT="development|python module" |
al@19733 | 42 ;; |
al@19733 | 43 libxslt-dev) |
al@19733 | 44 copy @dev xsltConf.sh |
al@20443 | 45 DEPENDS="libxslt libxslt-python libgcrypt-dev libgpg-error-dev \ |
al@20443 | 46 libxml2-dev xz-dev zlib-dev" |
al@19733 | 47 ;; |
al@19733 | 48 esac |
pankso@147 | 49 } |