wok-next annotate libxslt/receipt @ rev 19733
Some receipts v2: apr, apr-util, aspell, at-spi2-core, at-spi2-atk, atk, atkmm, cairomm, colord, glibmm, libsigc++, libxslt.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri May 26 16:40:11 2017 +0300 (2017-05-26) |
parents | 35a20e111081 |
children | 0e7893ac206d |
rev | line source |
---|---|
al@19733 | 1 # SliTaz package receipt v2. |
pankso@147 | 2 |
pankso@147 | 3 PACKAGE="libxslt" |
al@19607 | 4 VERSION="1.1.29" |
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/" |
pankso@16021 | 10 HOST_ARCH="i486 arm" |
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@19607 | 15 BUILD_DEPENDS="libgcrypt-dev libgpg-error-dev libxml2-dev zlib-dev python-dev" |
al@19733 | 16 BUILD_DEPENDS_arm="libgcrypt-dev libgpg-error-dev libxml2-dev" |
al@19733 | 17 SPLIT="libxslt-python libxslt-dev" |
pankso@15969 | 18 |
pankso@147 | 19 # Rules to configure and make the package. |
pankso@147 | 20 compile_rules() |
pankso@147 | 21 { |
al@19607 | 22 ./configure \ |
al@19607 | 23 --disable-static \ |
al@19607 | 24 $CONFIGURE_ARGS && |
pascal@2475 | 25 make && |
pascal@15268 | 26 make install 2>&1 | grep -v 'html/index.sgml' |
pankso@147 | 27 } |
pankso@147 | 28 |
pankso@147 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@147 | 30 genpkg_rules() |
pankso@147 | 31 { |
al@19733 | 32 case $PACKAGE in |
al@19733 | 33 libxslt) |
al@19733 | 34 copy xsltproc libxslt.so* libexslt.so* |
al@19733 | 35 DEPENDS="libgcrypt libgpg-error libxml2 zlib" |
al@19733 | 36 ;; |
al@19733 | 37 libxslt-python) |
al@19733 | 38 copy python*/ |
al@19733 | 39 find $fs -name '*.la' -delete |
al@19733 | 40 DEPENDS="libxslt python" |
al@19733 | 41 CAT="development|python module" |
al@19733 | 42 ;; |
al@19733 | 43 libxslt-dev) |
al@19733 | 44 copy @dev xsltConf.sh |
al@19733 | 45 DEPENDS="libxslt libxslt-python libgcrypt-dev libxml2-dev zlib-dev" |
al@19733 | 46 ;; |
al@19733 | 47 esac |
pankso@147 | 48 } |