wok annotate libxslt/receipt @ rev 23425
fusecloop: arch fix
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Apr 01 11:42:26 2020 +0200 (2020-04-01) |
parents | 06ffe7f7cb2a |
children | 3e2a0347b2f1 |
rev | line source |
---|---|
pankso@147 | 1 # SliTaz package receipt. |
pankso@147 | 2 |
pankso@147 | 3 PACKAGE="libxslt" |
Hans-G?nter@23126 | 4 VERSION="1.1.34" |
pankso@211 | 5 CATEGORY="system-tools" |
pankso@147 | 6 SHORT_DESC="XSLT support for libxml2." |
pankso@147 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15268 | 8 LICENSE="MIT" |
Hans-G?nter@21353 | 9 WEB_SITE="http://www.xmlsoft.org/XSLT/" |
Hans-G?nter@21353 | 10 |
pankso@147 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@147 | 12 WGET_URL="ftp://xmlsoft.org/libxslt/$TARBALL" |
pankso@147 | 13 |
pankso@16021 | 14 DEPENDS="libgcrypt libgpg-error libxml2 zlib" |
Hans-G?nter@21353 | 15 BUILD_DEPENDS="libgcrypt-dev libgpg-error-dev libxml2-dev \ |
Hans-G?nter@21353 | 16 python-dev zlib-dev" |
Hans-G?nter@21353 | 17 |
Hans-G?nter@21353 | 18 HOST_ARCH="i486 arm" |
pascal@15268 | 19 |
pankso@16021 | 20 # Handle cross compilation |
pankso@15969 | 21 case "$ARCH" in |
pankso@16021 | 22 arm) BUILD_DEPENDS="libgcrypt-dev libgpg-error-dev libxml2-dev" ;; |
pankso@15969 | 23 esac |
pankso@15969 | 24 |
pankso@147 | 25 # Rules to configure and make the package. |
pankso@147 | 26 compile_rules() |
pankso@147 | 27 { |
gokhlayeh@11573 | 28 ./configure $CONFIGURE_ARGS && |
Hans-G?nter@21353 | 29 make -j 1 && |
pascal@15268 | 30 make install 2>&1 | grep -v 'html/index.sgml' |
pankso@147 | 31 } |
pankso@147 | 32 |
pankso@147 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@147 | 34 genpkg_rules() |
pankso@147 | 35 { |
pankso@147 | 36 mkdir -p $fs/usr/lib/libxslt-plugins |
Hans-G?nter@21353 | 37 |
Hans-G?nter@21353 | 38 cp -a $install/usr/lib/*.so* $fs/usr/lib |
Hans-G?nter@21353 | 39 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@21353 | 40 |
Hans-G?nter@23126 | 41 rm $fs/usr/bin/xslt-config |
pankso@147 | 42 } |