wok-next view libxslt/receipt @ rev 11573

Fix build/host configure option in recipes which was not detecting the right ones well + tiny fixes.
author Antoine Bodin <gokhlayeh@slitaz.org>
date Mon Jan 02 23:06:18 2012 +0100 (2012-01-02)
parents 79091c9a2a84
children 210b7c05d288
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 DEPENDS="libgcrypt libxml2 zlib"
9 BUILD_DEPENDS="python-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://www.xmlsoft.org/XSLT/"
12 WGET_URL="ftp://xmlsoft.org/libxslt/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure $CONFIGURE_ARGS &&
19 make &&
20 make install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/lib/libxslt-plugins
27 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
28 cp -a $_pkg/usr/bin $fs/usr
29 rm $fs/usr/bin/xslt-config
30 }