wok-current view libxslt/receipt @ rev 15984
tcc: improve arm support but still not cross compiling
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Mar 02 00:29:29 2014 +0100 (2014-03-02) |
parents | 010bb8c2c4ac |
children | 73fb2ebfd59a |
line source
1 # SliTaz package receipt.
3 PACKAGE="libxslt"
4 VERSION="1.1.26"
5 CATEGORY="system-tools"
6 SHORT_DESC="XSLT support for libxml2."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="MIT"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.xmlsoft.org/XSLT/"
11 WGET_URL="ftp://xmlsoft.org/libxslt/$TARBALL"
12 #HOST_ARCH="i486 arm"
14 DEPENDS="libgcrypt libxml2 zlib"
15 BUILD_DEPENDS="libgcrypt-dev libxml2-dev zlib-dev python-dev"
17 case "$ARCH" in
18 arm) BUILD_DEPENDS="libgcrypt-dev libxml2-dev" ;;
19 esac
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 ./configure $CONFIGURE_ARGS &&
25 make &&
26 make install 2>&1 | grep -v 'html/index.sgml'
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/lib/libxslt-plugins
33 cp -a $install/usr/lib/*.so* $fs/usr/lib
34 cp -a $install/usr/bin $fs/usr
35 rm $fs/usr/bin/xslt-config
36 }