wok-current view libxslt/receipt @ rev 11544

swat: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Dec 25 14:23:11 2011 +0100 (2011-12-25)
parents c5a4c90d37a6
children b7319995b37e
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 &&
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 }