wok-next view libxslt/receipt @ rev 19714

Up cookutils (901)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri May 12 16:19:41 2017 +0300 (2017-05-12)
parents 73fb2ebfd59a
children 2c48a1f40bb6
line source
1 # SliTaz package receipt.
3 PACKAGE="libxslt"
4 VERSION="1.1.29"
5 CATEGORY="system-tools"
6 SHORT_DESC="XSLT support for libxml2."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="http://www.xmlsoft.org/XSLT/"
10 HOST_ARCH="i486 arm"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="http://xmlsoft.org/sources/$TARBALL"
15 DEPENDS="libgcrypt libgpg-error libxml2 zlib"
16 BUILD_DEPENDS="libgcrypt-dev libgpg-error-dev libxml2-dev zlib-dev python-dev"
17 SPLIT="libxslt-python"
19 # Handle cross compilation
20 case "$ARCH" in
21 arm) BUILD_DEPENDS="libgcrypt-dev libgpg-error-dev libxml2-dev" ;;
22 esac
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure \
28 --disable-static \
29 $CONFIGURE_ARGS &&
30 make &&
31 make install 2>&1 | grep -v 'html/index.sgml'
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 cook_copy_files xsltproc libxslt.so* libexslt.so*
38 }